TExprGridVariable Class

type TExprGridVariable = class(TObject);

Custom variable object type.

Define TExprGridVariable object with TValueRec.DefineCustomValue. The object provides callbacks used when reading or writing to the variable. These callbacks can be used for example to read and write from a string grid or to some external large storage.

Properties

NameTypeDescription
ColsIntegerSpecifies column count of the grid object.
ImFormatstringSpecifies formating for imaginary part f complex numbers.
LengthIntegerReturns total number of values.
OnGetValueTExprGridGetProcEvent triggered when value of an external structure is to be fetched from.
OnSetValueTExprGridSetProcEvent triggered when value of an external structure is to be set.
ReFormatstringSpecifies formating for real numbers and real part of complex numbers.
RowsIntegerSpecifies row count of the grid object.
ScientificBooleanSpecifies formating of real and complex numbers to use full scientific notation (1.2313E+20 for example).