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

Usage

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

Values

[True | False]

Default: True

Remarks

The AllowInserts property enables or disables the insert key. When enabled, the user can insert one record at a time by pressing the insert key. The new record is always inserted above the current record. When disabled, the user cannot directly insert records.

This property does not affect the ability to programmatically insert records with the InsertRecords method.

Example

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