event StateChange ()
Occurs when the button's state is changing.

TypeDescription
Use the StateChange event to notify your application that the button changes its state. The State property determines the button's state. Use the AllowHotState  property to allow hot state for your button. Use the Skin method to assign a skin to your button.

Syntax for StateChange event, /NET version, on:

private void StateChange(object sender)
{
}

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

Syntax for StateChange event, /COM version, on:

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

void OnStateChange()
{
}

void __fastcall StateChange(TObject *Sender)
{
}

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

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

begin event StateChange()
end event StateChange

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

Private Sub StateChange()
End Sub

Private Sub StateChange()
End Sub

LPARAMETERS nop

PROCEDURE OnStateChange(oButton)
RETURN

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

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

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

Procedure OnComStateChange 
	Forward Send OnComStateChange 
End_Procedure

METHOD OCX_StateChange() CLASS MainDialog
RETURN NIL

void onEvent_StateChange()
{
}

function StateChange as v ()
end function

function nativeObject_StateChange()
return