Allows or prevents the user from using the delete key to delete records.

Usage

Set_Property(OLECtrlEntID, "OLE.AllowDeletions", Boolean)

Values

[True | False]

Default: True

Remarks

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.

Example

// Disable the delete key 
Set_Property(@Window:".OLE_EDITTABLE", "OLE.AllowDeletions", 0)
  • No labels