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

Luiz Americo Pereira Camara luizmed at oi.com.br
Thu Dec 15 00:40:34 CET 2011


On 14/12/2011 06:24, Ludo Brands wrote:
>> This is the internal GUI toolkit (win32) behavior. We cant
>> change that.
>>
>> The same thing occurs with a vanilla combobox. There's no
>> call in LCL or
>> widgetset involved
>>
> Hmm.. Selecting a line with MasterId 2, highlights "eeee" correctly. A
> miracle? No, TDBLookupComboBox.DataChange does a FLookup.GetKeyIndex and
> updates the combobox. FLookup.GetKeyIndex does a simple "run over Flookup
> and stops on first match". So, yes it can be changed.
>

Please, send a patch.

Luiz




More information about the Lazarus mailing list