Свойство | Type | Description | |
---|---|---|---|
invalidNumeric | bool |
Méthode | Description | |
---|---|---|
OnKeyPress ( |
Restricts the entry of characters to digits, the negative sign, the decimal point, and editing keystrokes (backspace). It does not handle the AltGr key
|
|
WndProc ( Message &m ) : void |
Method invoked when Windows sends a message. This is over-ridden so that the user can not use cut or paste operations to bypass the TextChanging event. This catches ContextMenu Paste, Shift+Insert, Ctrl+V, While it is generally frowned upon to override WndProc, no other simple mechanism was apparent to simultaneously and transparently intercept so many different operations. |
Méthode | Description | |
---|---|---|
invalidNumeric ( char key ) : bool |
Main method for verifying allowed keypresses. This does not catch cut paste copy ... operations.
|
protected OnKeyPress ( |
||
e | ||
Résultat | void |
protected WndProc ( Message &m ) : void | ||
m | Message | Message from Windows. |
Résultat | void |