TDBLookupComboBox does not use DisplayText to show value
Original Reporter info from Mantis: md @mdbs99
-
Reporter name: Marcos Douglas
Original Reporter info from Mantis: md @mdbs99
- Reporter name: Marcos Douglas
Description:
The TDBLookupComboBox uses Field.AsString or Field.Value to access the
data... but I have problems with it using Unicode.
I use MSSQL and I have to convert the string data using
SysToUTF8/UTF8ToSys in Field.OnGetText/OnSetText events.
This works in TDBGrid, but not in TDBLookupComboBox.
I'm working in a patch but I'm not finished yet.
Additional information:
Field.OnGetText/OnSetText:
http://bugs.freepascal.org/view.php?id=12206
Mantis conversion info:
- Mantis ID: 20768
- OS: Windows
- OS Build: XP/7
- Build: 33813
- Platform: i386/x86_64
- Version: 0.9.30.3 (SVN)
- Fixed in revision: 34082 (#fa1ad856)