[Lazarus] RE : RE : RE : @DBLookupControls users: call for test

Ludo Brands ludo.brands at free.fr
Tue Dec 13 09:25:23 CET 2011


> > There is actually a very small problem: when selecting a line with 
> > MasterID =3 the dropdownbox will select the first xxx 
> instead of the 
> > second.
> >
> 
> Please create a specific bugreport for dbgrid so i can provide a patch
> 

DBGrid? It is the dropdownbox of the TDBLookupComboBox that highlights the
wrong xxx. There is no DBGrid involved.

In your test program, select in TDBLookupComboBox the second xxx, MasterID
of the datasource is updated to 3. That is fixed. Update uses key instead of
listvalue. Now the other way around: select in the datasource a record with
MasterID = 3, open the dropdownbox in TDBLookupComboBox and you'll see the
first xxx highlighted. There is still a locate of the listvalue instead of
key.

Ludo
  





More information about the Lazarus mailing list