Allows or prevents the user from using the delete key to delete records.
Set_Property(OLECtrlEntID, "OLE.AllowDeletions", Boolean) |
[True | False]
Default: True
The AllowsDeletions property enables or disables the delete key. When enabled, the user can delete records by pressing the delete key. When disabled, the user cannot directly delete records.
// Disable the delete key Set_Property(@Window:".OLE_EDITTABLE", "OLE.AllowDeletions", 0) |