Gets or sets a value indicating if the cells of a split can be edited.
[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 example does not allow the user to modify data in the first split:
Me.C1TrueDBGrid1.Splits(0).Locked = True
· C#
this.c1TrueDBGrid1.Splits[0].Locked = true;
· Delphi
Self.C1TrueDBGrid1.Splits[0].Locked := True;
See Also
Split Class | Split Members | C1.Win.C1TrueDBGrid Namespace
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |