P
Pafo007
Hi.
I've built a small window, with some buttons and labels, and one listbox.
During design time, I put five lines in the listbox and launch the
program: the listbox appears empty! I can select the first five lines,
but they become blue (=selected) without any text.
I tried to feel the listbox during runtime, but I got the same result.
If I catch listbox1.SelectedItem.ToString() when one of the 5 lines is
correctly selected (but always appears empty), I get the text I've put
in it!
Could someone explain this strange behaviour?
Win XP Home + C#Builder
Thank you
I've built a small window, with some buttons and labels, and one listbox.
During design time, I put five lines in the listbox and launch the
program: the listbox appears empty! I can select the first five lines,
but they become blue (=selected) without any text.
I tried to feel the listbox during runtime, but I got the same result.
If I catch listbox1.SelectedItem.ToString() when one of the 5 lines is
correctly selected (but always appears empty), I get the text I've put
in it!
Could someone explain this strange behaviour?
Win XP Home + C#Builder
Thank you