[Lazarus] RE : @DBLookupControls users: call for test
Ludo Brands
ludo.brands at free.fr
Mon Dec 12 16:06:10 CET 2011
>
> In order to fix some bugs i did significant changes in
> TDBLookup[List|Combo]Box controls
>
> I did a lot of testing but may broken something
>
> Please report problems you have
>
Don't know if this is in the scope of the changes you made but the lookup in
the dbgrid (picklist) is (still?) broken. Take the test program used in
http://bugs.freepascal.org/view.php?id=20841 and change the Name in Lookup
grid using the dropdown box inside the grid. Selecting second 'xxx' selects
MasterID 1. Same problem the way around: when entering 3 in MasterID and
then opening dropdownbox in DBGrid positions the selection to the first
'xxx'.
Selection from DBLookupCombo is fine.
A difference with Delphi is the fact that the dataset cursor of the
ListSource doesn't change to the selected record when selecting an item in
the ListSource. When changing the selected item in a lookup control
(including dbgrid picklist) all lookup controls using the same ListSource
are updated to the new record, except for the dataset itself. This behavior
doesn't make sense.
Ludo
More information about the Lazarus
mailing list