event FilterChanging ()
Notifies your application that the filter is about to change.

 TypeDescription 
The FilterChanging event occurs just before applying the filter. The FilterChange event occurs once the filter is applied, so the list gets filtered. 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. For instance, you can use the FilterChanging event to start a  timer, and count the time to get the filter applied, when the FilterChange event is fired. 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 FilterChanging event, /NET version, on:

private void FilterChanging(object sender)
{
}

Private Sub FilterChanging(ByVal sender As System.Object) Handles FilterChanging
End Sub

Syntax for FilterChanging event, /COM version, on:

private void FilterChanging(object sender, EventArgs e)
{
}

void OnFilterChanging()
{
}

void __fastcall FilterChanging(TObject *Sender)
{
}

procedure FilterChanging(ASender: TObject; );
begin
end;

procedure FilterChanging(sender: System.Object; e: System.EventArgs);
begin
end;

begin event FilterChanging()
end event FilterChanging

Private Sub FilterChanging(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles FilterChanging
End Sub

Private Sub FilterChanging()
End Sub

Private Sub FilterChanging()
End Sub

LPARAMETERS nop

PROCEDURE OnFilterChanging(oTree)
RETURN

Syntax for FilterChanging event, /COM version (others), on:

<SCRIPT EVENT="FilterChanging()" LANGUAGE="JScript">
</SCRIPT>

<SCRIPT LANGUAGE="VBScript">
Function FilterChanging()
End Function
</SCRIPT>

Procedure OnComFilterChanging 
	Forward Send OnComFilterChanging 
End_Procedure

METHOD OCX_FilterChanging() CLASS MainDialog
RETURN NIL

void onEvent_FilterChanging()
{
}

function FilterChanging as v ()
end function

function nativeObject_FilterChanging()
return


Send comments on this topic.
1999-2017 Exontrol.COM, Software. All rights reserved.