On Mon, Dec 12, 2011 at 12:06 PM, Ludo Brands <[email protected]> wrote: >> >> 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.
I disagree, see http://bugs.freepascal.org/view.php?id=20886 > 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. +1 Marcos Douglas -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
