ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1TrueDBGrid.FilterActive Property

Gets or sets a value indicating whether the filter bar has focus.

[Visual Basic]

Public Property FilterActive As Boolean

[C#]

public bool FilterActive {get;set;}

[Delphi]

public property FilterActive: Boolean read get_FilterActive write set_FilterActive;

Remarks

This property returns True if the user is currently editing within the Filter Bar. Use the Col property to identify the filter column being edited.

Setting this property to True initiates editing in the Filter Bar.

Example

The following code displays and initiates editing in the Filter Bar:

·      Visual Basic

       Me.C1TrueDBGrid1.FilterBar = True

       Me.C1TrueDBGrid1.FilterActive = True

·      C#

       this.c1TrueDBGrid1.FilterBar = true;

       this.c1TrueDBGrid1.FilterActive = true;

·      Delphi

       Self.C1TrueDBGrid1.FilterBar := True;

       Self.C1TrueDBGrid1.FilterActive := True;

See Also

C1TrueDBGrid Class | C1TrueDBGrid Members | C1.Win.C1TrueDBGrid Namespace


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.