TWebListBox shows partial string on each item in the list

Hi Bruno,

I simply dropped a TWebListbox onto the form, then I added 3 items into Listbox:


then I compiled the demo project, here is what I saw:

It looks like part of the string of each item has been stripped out. Any advice for this problem? I am using TMS Web Core 2.1.2.0

Thanks,

This is because the items stringlist name/value separator is default '='
Try to set ListBox.Items.NameValueSeparator := chr($255) for example.

Thanks Bruno! That works!

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.