OnChange Event (ASwitch)

Occurs when the Value property has changed on the object using the keyboard or the mouse or by changing the Value property.

Syntax

Object.OnChange()

The OnChange event syntax has the following parts:

 

Name

Type

Description

Object

ASwitch

ASwitch control

Example

asw1.OnChange()

{

  achkl.Caption="The change is noted."

}

Applies to

ASwitch

See Also

AButton