Discussion:
TComboBox.Text property broken???
(too old to reply)
Kalkidas
2010-10-12 15:43:06 UTC
Permalink
I want to display a default string in the combobox when the program is
started. Isn't that what the "Text" property is for?

But when I set the text property to some string the box remains blank.

Tried in both Delphi 7 & 2009.
Kent Briggs
2010-10-12 19:04:08 UTC
Permalink
Post by Kalkidas
I want to display a default string in the combobox when the program is
started. Isn't that what the "Text" property is for?
But when I set the text property to some string the box remains blank.
Tried in both Delphi 7& 2009.
Works for me when the Style is set to csDropDown. If Style is
csDropList then Text is read only.
--
Kent Briggs, ***@briggsoft.com
Briggs Softworks, http://www.briggsoft.com
Kalkidas
2010-10-12 20:04:40 UTC
Permalink
Post by Kalkidas
I want to display a default string in the combobox when the program is
started. Isn't that what the "Text" property is for?
But when I set the text property to some string the box remains blank.
Tried in both Delphi 7& 2009.
Works for me when the Style is set to csDropDown. If Style is csDropList
then Text is read only.
That was it. Thank you!!

Loading...