TDBLookupCombobox ignores table sort
Original Reporter info from Mantis: bill0287
-
Reporter name: Bill
Original Reporter info from Mantis: bill0287
- Reporter name: Bill
Description:
When using a TDBLookupCombobox control, the displayed look up values are not sorted even though the lookup DB is sorted.
Steps to reproduce:
In the sample program:
- At start, observe that the dblookupcombobox values are unsorted, and that they match the order of the DBGrid.
- Press the button to sort the values by one field.
- Observe that the dblookupcombobox values remain unsorted.
- Press the button to sort the values by another field.
- Observe that the dblookupcombobox values remain unsorted.
The dblookupcombobox drop down should follow the sort order of the underlying table.
Additional information:
Per the forum: " There is a missing call to a private procedure UpdateLookup in the TDBLookupComboBox. "
This was discussed here:
http://forum.lazarus.freepascal.org/index.php/topic,22865.0.html
Mantis conversion info:
- Mantis ID: 25400
- OS: XP Pro
- OS Build: SP3
- Build: 1.0.14
- Platform: Windows
- Version: 2.3 (SVN)
- Fixed in revision: 43512 (#bf893993)