RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomGrid.GetEditMask Method

Provides the interface for a method that returns an input mask for the specified cell.

Pascal
function GetEditMask(ACol: Longint; ARow: Longint): string; dynamic;
C++
__fastcall AnsiString GetEditMask(Longint ACol, Longint ARow);

The inplace editor calls GetEditMask to obtain any input mask associated with the cell specified by the ACol and ARow parameters. GetEditMask returns an empty string, indicating that the cell has no input mask. Descendants of TCustomGrid override this method to provide an input mask or generate an OnGetEditMask event. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!