Visual Basic Reference

SelectionChanged Event

See Also    Example    Applies To

Occurs when the selection of controls on the form has changed.

Syntax

Sub object_SelectionChanged()

The SelectionChanged event syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.

Remarks

The firing of this event notifies the property page that the selection of controls has changed, and therefore the display of current property values may need to be updated. The SelectedControls property should be read to find out the new set of selected controls.

The SelectionChanged event is also raised when the property page is first brought up for a control.