Jump to content

tw3listbox wordwrap

Recommended Posts

  • Moderators

The listbox items map to the <input type=text> html element, which are single line items (EditBox)

A multi line item would have to map to say a <textarea> element (Memo)

In this case you would have to roll your own listbox component, which generates html like below




You can delve a bit in the SmartCl.Controls.ListBox unit to see how this component has been put together.

For instance Height can be set by coding W3ListBox.ItemHeight := 60;

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...