RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDrawGrid.GetEditMask Method

Generates an OnGetEditMask event.

Pascal
function GetEditMask(ACol: Longint; ARow: Longint): string; override;
C++
virtual __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 the Value parameter set by the OnGetEditMask event handler. If there is no OnGetEditMask event handler, GetEditMask returns an empty string, indicating that there is no edit mask. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!