Page 1 of 1

[SOLVED] Access To List of available codepages.

Posted: 01.03.2024, 19:16
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.