Vcl.Grids.TDrawGrid.OnGetEditMask

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnGetEditMask: TGetEditEvent read FOnGetEditMask write FOnGetEditMask;

C++

__property OnGetEditMask;

Properties

Type Visibility Source Unit Parent
event published
Vcl.Grids.pas
Vcl.Grids.hpp
Vcl.Grids TDrawGrid

Description

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

Vcl.Grids.TDrawGrid.OnGetEditMask inherits from Vcl.Grids.TCustomDrawGrid.OnGetEditMask. All content below this line refers to Vcl.Grids.TCustomDrawGrid.OnGetEditMask.

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