ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

Split.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

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

Example

The following code gives focus to the Filter Bar in the second split:

·      Visual Basic

       Me.C1TrueDBGrid1.Splits(1).FilterBar = True

       Me.C1TrueDBGrid1.Splits(1).FilterActive = True

·      C#

       this.c1TrueDBGrid1.Splits[1].FilterBar = true;

       this.c1TrueDBGrid1.Splits[1].FilterActive = true;

·      Delphi

       Self.C1TrueDBGrid1.Splits[1].FilterBar := True;

       Self.C1TrueDBGrid1.Splits[1].FilterActive := True;

See Also

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


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