Hi all
In delphi when i want to display a default value in a dblookupcombobox i do something like this
if datasouce.state = [dsInsert] then begin
DBLookupComboBox1.ListSource.DataSet.Locate('id', '3', []);
DBLookupComboBox1.ListSource.DataSet.FieldByName(DBLookupComboBox1.KeyField).Value;
DBLookupComboBox1.keyvalue:=DBLookupComboBox1.listsource.dataset.fieldbyname(DBLookupComboBox1.keyfield).value
end;
but in uniGUI it does not shows point to the id i have selected as a default.
Any Idea?
thank's a lot