Vcl.Grids.TCustomDrawGrid.OnGetEditMask

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnGetEditMask: TGetEditEvent read FOnGetEditMask write FOnGetEditMask;

C++

__property TGetEditEvent OnGetEditMask = {read=FOnGetEditMask, write=FOnGetEditMask};

Properties

Type Visibility Source Unit Parent
event protected
Vcl.Grids.pas
Vcl.Grids.hpp
Vcl.Grids TCustomDrawGrid

Description

Occurs when the in-place editor requests an edit mask.

Write an OnGetEditMask event handler to provide the in-place editor with an edit mask that describes the valid input strings a user can type into a cell. Set the Value parameter to the string that describes the edit mask for the cell specified by the ACol and ARow parameters. If the cell does not have an edit mask, set the Value parameter to an empty string.

OnGetEditMask does not occur unless the Options property includes goEditing.

See Also

Code Examples