Gets or sets a value indicating the ability to select columns.
[Visual Basic]
Public Property AllowColSelect As Boolean
[C#]
public bool AllowColSelect {get;set;}
[Delphi]
public property AllowColSelect: Boolean read get_AllowColSelect write set_AllowColSelect;
Remarks
If True (the default), the user can select columns.
If False, the user cannot select columns.
Use the AllowColSelect property to control whether the user can select columns by clicking within the column header area. Setting this property to False suppresses highlighting when the user clicks a column header, which is useful for applications that respond to the HeadClick event.
Example
The following code uses the AllowColSelect property to restrict the user from selecting columns:
Me.C1TrueDBDropdown1.AllowColSelect = False
· C#
this.c1TrueDBDropdown1.AllowColSelect = false;
· Delphi
Self.C1TrueDBDropdown1.AllowColSelect := False;
See Also
C1TrueDBDropdown Class | C1TrueDBDropdown Members | C1.Win.C1TrueDBGrid Namespace
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |