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
| Name | Type | Description |
|---|---|---|
| Cols | Integer | Specifies column count of the grid object. |
| ImFormat | string | Specifies formating for imaginary part f complex numbers. |
| Length | Integer | Returns total number of values. |
| OnGetValue | TExprGridGetProc | Event triggered when value of an external structure is to be fetched from. |
| OnSetValue | TExprGridSetProc | Event triggered when value of an external structure is to be set. |
| ReFormat | string | Specifies formating for real numbers and real part of complex numbers. |
| Rows | Integer | Specifies row count of the grid object. |
| Scientific | Boolean | Specifies formating of real and complex numbers to use full scientific notation (1.2313E+20 for example). |