How do I auto highlight the 1st entry in a DBLookupListBox without the end user highlighting it.
procedure TForm2.FormCreate(Sender: TObject);
begin
Form2.ActiveControl := DBLookupListBox1;
end;
But this doesn't work, I've also tried DBLookupListBox1.setfocus on form create, but this gives an error, because the DBLookupListBox is not created yet.
Thanks
-Brad