On Mon, Nov 28, 2011 at 10:28 AM, Marcos Douglas <[email protected]> wrote:
> Hi,
>
> 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?

I forgot to say that the TDBGrid works because it uses
Field.DisplayText, instead of AsString or Value.

Marcos Douglas

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to