Delphi - Setting selected item in DBLookupCombo at design time
Posted on 2009-07-12
I have a picklist which is a TDBLookupComboBox with its (lookup) list attached to a populated dataset.
When the combo box is first displayed, I want the app to select the first item in the list rather than waiting for user to select an item. I do not know at design time what the contents of the lookup list will be other than it will not be empty.
Is it possible to programatically select an item from the list rather than relying on user input?