[SOLVED] Access To List of available codepages.

The offical for ZeosLib 7.3 Report problems, ask for help, post proposals for the new version of Zeoslib 7.3/v8
Quick Info:
-We made two new drivers: odbc(raw and unicode version) and oledb
-GUID domain/field-defined support for FB
-extended error infos of Firebird
-performance ups are still in queue
In future some more feature will arrive, so stay tuned and don't hassitate to help
Post Reply
omurolmez
Fresh Boarder
Fresh Boarder
Posts: 6
Joined: 04.06.2022, 21:55

[SOLVED] Access To List of available codepages.

Post by omurolmez »

Hello there,

I am sorry if this is answered in forum before. I could not find.

I want to list usable/available codepage values in a combo box, before or after connected to db. I want to fill a combobox, after user selects a protocol and connects to that db.

As I guess, both

Code: Select all

ZConnection1.ClientCodePage:= 'some';
and

Code: Select all

ZConnection1.Properties.Add('codepage=some');
do same thing.

So, I want to access the same list, when Zeos component fills in ClientCodePage property combobox at Object Inspector after protocol is selected.

----

I found necessary code in procedure
TZClientCodePagePropertyEditor.GetValueList(List: TStrings);
at file
src\component\ZPropertyEditor.pas
Thanks
Ömür Ölmez.
Post Reply