DBLookup controls and ScrollListDataset - list dataset is not scrolled if datasets were opened before control was created
Original Reporter info from Mantis: Michal Gawrycki @michalgw
-
Reporter name: Michal Gawrycki
Original Reporter info from Mantis: Michal Gawrycki @michalgw
- Reporter name: Michal Gawrycki
Description:
If datasets are already open before creating lookup control, list dataset is not scrolled and points to current record (last selected before the control was created).
I attach a possible solution.
Steps to reproduce:
Run attached project and click "TDBLookupListBox" or "TDBLookupComboBox". A window will be created containing lookup control. You can see that lookup dataset has not been scrolled and points to wrong record.
Mantis conversion info:
- Mantis ID: 33109
- Build: 57199
- Version: 1.9 (SVN)
- Fixed in revision: r62415 (#709c6d08)