Listbox does not display the complete string added

I was debugging a WebCore application using a listbox to display intermediate results. At a given moment, I noticed a string I added to the listbox only appeared partially. It took me some time it was the part following an equal sign, as in A=Result displayed as “A”.

I have added a small project and a screenshot to demonstrate the issue. In my case the issue was not very important as replacing the equal sign by any other symbol allowed me to proceed debugging. However, I can imagine that it may be important if the listbox would be part of a larger project and to notice it partially displays some strings.

TestProject.zip (11.4 KB)

Set:

weblistbox1.Items.NameValueSeparator := #0;

before adding values with default name value separator ‘=’