Type | Description |
Use the FilterChange event to notify your application that the control's filter is changed. The FilterChanging event occurs just before applying the filter. Use the Filter and FilterType properties to retrieve the column's filter string, if case, and the column's filter type. The ApplyFilter and ClearFilter methods fire the FilterChange event. Use the DisplayFilterButton property to add a filter bar button to the column's caption. Use the FilterBarHeight property to specify the height of the control's filter bar. Use the FilterBarFont property to specify the font for the control's filter bar. Use the VisibleItemCount property to retrieve the number of filtered items. Use the FilterBarCaption property to change the caption in the filter bar once a new filter is applied. The FilterBarPromptVisible property specifies whether the filter prompt is visible or hidden. The filter prompt feature allows you to filter the items as you type while the filter bar is visible on the bottom part of the list area. The Filter prompt feature allows at runtime filtering data on hidden columns too.
Syntax for FilterChange event, /NET version, on:
private void FilterChange(object sender) { } Private Sub FilterChange(ByVal sender As System.Object) Handles FilterChange End Sub |
private void FilterChange(object sender, EventArgs e) { } void OnFilterChange() { } void __fastcall FilterChange(TObject *Sender) { } procedure FilterChange(ASender: TObject; ); begin end; procedure FilterChange(sender: System.Object; e: System.EventArgs); begin end; begin event FilterChange() end event FilterChange Private Sub FilterChange(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles FilterChange End Sub Private Sub FilterChange() End Sub Private Sub FilterChange() End Sub LPARAMETERS nop PROCEDURE OnFilterChange(oTree) RETURN |
<SCRIPT EVENT="FilterChange()" LANGUAGE="JScript"> </SCRIPT> <SCRIPT LANGUAGE="VBScript"> Function FilterChange() End Function </SCRIPT> Procedure OnComFilterChange Forward Send OnComFilterChange End_Procedure METHOD OCX_FilterChange() CLASS MainDialog RETURN NIL void onEvent_FilterChange() { } function FilterChange as v () end function function nativeObject_FilterChange() return |