Gets or sets a value indicating whether data entry is permitted for the assocated object.
[Visual Basic]
Public Property Locked As Boolean
[C#]
public bool Locked {get;set;}
[Delphi]
public property Locked: Boolean read get_Locked write set_Locked;
Remarks
If True, the user cannot modify data in the column or split.
If False (the default), the user can modify data in the column or split.
Example
The following code restricts editing in the current split:
Me.C1TrueDBGrid1.Splits(0).Style.Locked = True
· C#
this.c1TrueDBGrid1.Splits[0].Style.Locked = true;
· Delphi
Self.C1TrueDBGrid1.Splits[0].Style.Locked := True;
See Also
C1.Win.C1TrueDBGrid.Style Class | C1.Win.C1TrueDBGrid.Style Members | C1.Win.C1TrueDBGrid Namespace
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |