Rebar.addOnHeightChange

Overview | Methods | This Package | All Packages

Rebar.addOnHeightChange

Assigns a delegate to the heightChange event.

Syntax

public void addOnHeightChange( EventHandler handler )

Parameters

handler

The EventHandler delegate to be notified when the event occurs.

Remarks

Passing an event handler as a parameter to this method is equivalent to setting the heightChange event to that method in the Properties window. The heightChange event occurs when the bands in a rebar are moved in a way that changes the height of the rebar control. If the orientation property of the rebar is set to Orientation.VERTICAL, this event occurs when the width of the control changes.

See Also   removeOnHeightChange