TTMSFNCDataGridData.ValueToBoolean Method
Safely converts a raw cell value to Boolean using default format settings.
API unit family: TMSFNCDataGridData
Declaring type: TTMSFNCDataGridData
Overloads
Overload 1
Safely converts a raw cell value to Boolean using default format settings.
class function ValueToBoolean(AValue: TTMSFNCDataGridCellValue): Boolean; overload;
Parameters
| Name | Description |
|---|---|
AValue |
Cell value to test or convert. |
Returns
True when the operation succeeds or the result is affirmative; otherwise False.
Overload 2
Safely converts a raw cell value to Boolean respecting locale-specific parsing.
class function ValueToBoolean(AValue: TTMSFNCDataGridCellValue; AFormatSettings: TFormatSettings): Boolean; overload;
Parameters
| Name | Description |
|---|---|
AValue |
Cell value to test or convert. |
AFormatSettings |
Format settings used for locale-sensitive parsing or formatting. |
Returns
True when the operation succeeds or the result is affirmative; otherwise False.