event Change ()
Occurs when user closes the drop down by selecting a value.

 TypeDescription 

The Change event is fired if the drop-down portion of the control is visible, and the user clicks an item or presses the Enter key. The Change event is not fired if the control's Style property is Simple. Use the SelectionChange event  to notify your application that a new item is selected. Use the EditText property to get the caption of the edit inside the control's label. The Select property gets the value of selected item on a specified column, if the Style's property is DropDown or DropDownList. The SelectableItem property specifies whether the user can select an item.

Syntax for Change event, /NET version, on:

private void Change(object sender)
{
}

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

Syntax for Change event, /COM version, on:

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

void OnChange()
{
}

void __fastcall Change(TObject *Sender)
{
}

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

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

begin event Change()
end event Change

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

Private Sub Change()
End Sub

Private Sub Change()
End Sub

LPARAMETERS nop

PROCEDURE OnChange(oComboBox)
RETURN

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

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

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

Procedure OnComChange 
	Forward Send OnComChange 
End_Procedure

METHOD OCX_Change() CLASS MainDialog
RETURN NIL

void onEvent_Change()
{
}

function Change as v ()
end function

function nativeObject_Change()
return


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