Sign in Join
FPDoc Onlineexperiment

TFieldDef.Codepage property

Member of TFieldDefpublicIn unit DB

System code page for the values in string and wide string field types.

Declaration

pascal
property Codepage: TSystemCodePage read FCodePage;

Description

Codepage is a read-only TSystemCodePage property with the system code page used for values in the field. The value in CodePage is assigned in the overloaded constructor which includes a TSystemCodePage argument. CodePage is relevant for string or wide string field types, and uses the following values:

ftString, ftFixedChar, ftMemo
Uses the value passed in the argument. The default value is 0.
ftWideString, ftFixedWideChar, ftWideMemo
Use the value in the CP_UTF16 constant.
Other non-string field types
Uses the value 0 in Codepage.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.