FMX.Grid.TCustomNumberColumn.ValidChar
Delphi
function ValidChar(const KeyChar: Char): Boolean; override;
C++
virtual bool __fastcall ValidChar(const System::WideChar KeyChar);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | FMX.Grid.pas FMX.Grid.hpp |
FMX.Grid | TCustomNumberColumn |
Description
Returns True if the specified character is a valid character for a cell of this column or False otherwise.
FMX.Grid.TCustomNumberColumn.ValidChar inherits from FMX.Grid.TColumn.ValidChar. All content below this line refers to FMX.Grid.TColumn.ValidChar.
Returns True if the specified character is a valid character for a cell of this column or False otherwise.
For example, if the column contains numeric values, only digits, sign symbols (+ and -) and digit separators (, and .) would be considered valid.