TAdvCustomInspector.ValidateChar Method
Indicates if the specified key pressed is valid for current editing of selected property.
Syntax
Unit: InspectorControls
function TAdvCustomInspector.ValidateChar(TheIndex: Integer; var Key: Char): Boolean; virtual;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| TheIndex | Integer | The index of the property being edited. |
|
| var | Key | Char | The key pressed in the editor that should be validated. The method might change this value if needed. |
Returns
Returns true if the key can be accepted in the editor, false otherwise.