Reference > TDBMask Control > TDBMask Control Properties > EditModeStatus Property (TDBMask) |
EditModeStatus Property (TDBMask)
The EditModeStatus property returns whether the current edit mode is in the insert or the overwrite mode.
control.EditModeStatus
Read-only at run time. Not available at design time.
Description |
Run Time |
0 - Insert mode |
dbiStatusInsert |
1 - Overwrite mode |
dbiStatusOverwrite |
In the TDBText control, the current edit mode will be applied to the drop-down edit window when dropping the window down. If you change the mode within the edit window, the new mode will be set back to the control upon closing the window. In this case the EditModeChange event will be fired and the EditModeStatus will be changed as soon as the focus returns to the control.
See Also