Huseyin SEKER 1 Posted March 6 Report Share Posted March 6 Hi, I want listbox items word-wrapped, i want long text displayed as two lines, can i do that? And another question: can i change item font, color, size, height etc. ? Quote Link to post Share on other sites
Moderators lynkfs 614 Posted March 13 Moderators Report Share Posted March 13 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; Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.