ComponentOne True DBGrid Pro 8
AllowDelete Property

AllowDelete Property

Enables interactive record deletion.

Syntax

TDBGrid.AllowDelete= boolean

Remarks

Read/Write at run time and design time.

If True, the user can delete records from the data source underlying the TDBGrid control.

If False (the default), the user cannot delete records from the data source underlying the TDBGrid control.

Use the AllowDelete property to prevent the user from deleting records from the data source through interaction with the TDBGrid control.

The underlying data source may not permit deletions even if the AllowDelete property is True for the TDBGrid control. In this case, a trappable error occurs when the user tries to delete a record.

See Also

TDBGrid Control

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback