You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

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 isnert key. When enabled, the user can insert one record at a time by pressing the delete 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