Vcl.DBGrids.TCustomDBGrid.GetEditMask

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function  GetEditMask(ACol, ARow: Longint): string; override;

C++

DYNAMIC System::UnicodeString __fastcall GetEditMask(int ACol, int ARow);

Properties

Type Visibility Source Unit Parent
function protected
Vcl.DbGrids.pas
Vcl.DBGrids.hpp
Vcl.DBGrids TCustomDBGrid

Description

Returns the input mask associated with the field for the selected cell.

The inplace editor calls GetEditMask to obtain any input mask associated with the field binding of the indicated cell. GetEditMask returns the EditMask property of the field component from the Columns array.

The ACol and ARow parameters indicate the index of the row and column of the cell in the grid. The ACol parameter is not the same as the index of the column in the Columns array if the Options property includes dgIndicator.

See Also