On 2016-10-18 10:39, Martin Schreiber wrote: >> > cbObjects.dropdown.cols.EndUpdate; >> > cbObjects.dropdown.ItemIndex := 0; // SAllString is always the 1st item >> > > Suggestion: use a TenumEdit and set "<enumedit>.value:= 0;". > TDropdownListEdit is more a TStringEdit with a text selecting help.
OK, I'll make the widget change. But what does cbObjects.dropdown.ItemIndex := 0 do in TDropdownListEdit if it doesn't set the focus item? Regards, Graeme -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key: http://tinyurl.com/graeme-pgp ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk