To hide the Record Selectors column, set the RecordSelectors property to False. Hiding the Record Selectors column restricts selecting rows. This property can be set either in the designer or in code.
In the Designer
To set the RecordSelectors property using the TrueDBGrid Designer:
1. Open the TrueDBGrid Designer. For information on how to access the TrueDBGrid Designer, see Accessing the TrueDBGrid Designer.
2. In the designer, click Record Selectors in the toolbar to hide the column.
3. Click OK to close the TrueDBGrid Designer.
Alternatively, the RecordSelectors property can also be set in the Properties window. To set the RecordSelectors property in the Properties window:
· Locate the RecordSelectors property in the Properties window and set it to False.
In Code
Add the following code to the Form_Load event to hide the Record Selectors column:
Me.C1TrueDBGrid1.RecordSelectors = False
· C#
this.c1TrueDBGrid1.RecordSelectors = false;
· Delphi
Self.C1TrueDBGrid1.RecordSelectors := False;
This topic illustrates the following:
The Record Selectors column is not visible.
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |