The property FeatValAsTriState provides access to the cell [fix,obj] of the feature matrix, given that the referenced cell is of type TTriState. The parameter fix may assume values between 1 and NFeatures, the parameter obj may assume values between 1 and NObjects. Parameter values outside the valid range will be ignored when writing to the cell (resulting in no action at all), or a tsUndefined value will be returned when reading the FeatValAsTriState property.
Accessing cells within the valid range might generate an exception if the accessed cell is of a type other than TTriState:
Data Type |
Read |
Write |
fkUndefined |
exception |
exception |
fkInteger |
exception |
exception |
fkDouble |
exception |
exception |
fkString |
exception if the cell does not contain a tri-state value as a string (allowed values: 'true', 'false', '' (empty string)) |
OK |
fkTriState |
OK |
OK |
|