Query the value of a cell for the specified widget, where applicable.
Syntax |
cellValue (string name, int row, int col, int @value, uint flags=0, int min=_I32_MIN, int max=_I32_MAX): bool cellValue (string name, int row, int col, uint @value, uint flags=0, uint min=_U32_MIN, uint max=_U32_MAX): bool cellValue (string name, int row, int col, real @value, uint flags=0, real min=0, real max=0): bool |
---|---|
name |
Target widget name |
row |
Row index (-1=current row) |
col |
Column index (-1=current column) |
value |
Reference to target value variable |
flags |
Operation flags |
min |
Minimum admitted value (if flag XForm_MinValue specified) |
max |
Maximum admitted value (if flag XForm_MaxValue specified) |
Result |
return true if valid value retrieved, false otherwise |
Available operation flags are the following:
Label |
Description |
---|---|
XForm_AllowEmpty |
Consider empty values a valid value |
XForm_MinValue |
If the value is less than min value, the method will fail |
XForm_MaxValue |
If the value is greater than max value, the method will fail |