[Overview][Constants][Types][Classes][Procedures and functions][Index] |
GetEditMask gets the EditMask for the Field at the specified Row and Column.
Source position: dbgrids.pas line 471
protected function TCustomDBGrid.GetEditMask( |
aCol: LongInt; |
aRow: LongInt |
):string; override; |
aCol |
|
Column in the grid. |
aRow |
|
Row in the grid. |
Edit mask for the specified cell.
GetEditMask is an overridden String function used to get the EditMask for the TField that reads and writes data for specified Row and Column.
The linked dataset for the grid control must be active to access the Field definition at the specified column number. GetEditMask calls the GetFieldFromGridColumn method to get the TField instance with the EditMask for the column.
The return value can contain an empty string ('') is the dataset is not active, or a Field cannot be located for the specified column, or the EditMask has not been assigned in the Field definition.
GetEditMask signals the OnFieldEditMask event handler when it has been assigned for the control. Use OnFieldEditMask to return a user-specified value for the EditMask.
|
Gets the edit mask for the specified cell. |
Version 3.2 | Generated 2024-02-25 | Home |