[Lazarus] TDBLookupComboBox (dblookup.inc)

Marcos Douglas md at delfire.net
Mon Nov 28 14:28:06 CET 2011


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 OnGetText/OnSetText events [1]
This works in TDBGrid, but not in TDBLookupComboBox.

I'm working in a patch but I'm not finished. I have some problems...
So, somebody have the same problem and already did the patch?

Marcos Douglas

[1] http://bugs.freepascal.org/view.php?id=12206

More information about the Lazarus mailing list