|
RAD Studio VCL Reference
|
Indicates whether the Key parameter can be entered into the current cell.
function CanEditAcceptKey(Key: Char): Boolean; dynamic;
__fastcall Boolean CanEditAcceptKey(Char Key);
CanEditAcceptKey provides a simple screening of keyboard input while the user is editing the contents of a cell. The CanEditAcceptKey method for TCustomGrid always returns true. Descendants of TCustomGrid override this method to screen out illegal characters.
More refined validation can be obtained by using an edit mask.
|
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
|
What do you think about this topic? Send feedback!
|