Sign in Join
FPDoc Onlineexperiment

TCustomDBGrid.OnFieldEditMask property

Member of TCustomDBGridprotectedIn unit DBGrids

Event handler signalled to get the edit mask for a Field.

Declaration

pascal
property OnFieldEditMask: TGetDbEditMaskEvent read FOnFieldEditMask write FOnFieldEditMask;

Description

OnFieldEditMask is a TGetDbEditMaskEvent property that implements the event handler signalled to get the edit mask used for a Field in the grid control. OnFieldEditMask allows overriding the edit mask assigned to a Field in the Columns property, or assigning an edit mask for Fields that do not already have one. Assign a procedure to the event handler to respond to the event notification.

OnFieldEditMask is triggered from the GetEditMask method when the DataSet in DataLink is active.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.