UpDown.setAutoBuddy

Overview | Methods | This Package | All Packages

UpDown.setAutoBuddy

Sets a boolean value indicating whether the up-down control automatically uses the previous control in the tab order as its buddy control (the control that displays the value of the up-down control).

Syntax

public void setAutoBuddy( boolean value )

Parameters

value

Set to true if this up-down control automatically uses the previous control in the tab order as its buddy control; otherwise, set to false.

Remarks

The default value is false. If this property is set to true and there is no previous control in the tab order, the up-down control uses the next control in the tab order as its buddy control. Setting the autoBuddy property to true automatically sets the buddyControl property to the previous control in the tab order. Setting the buddyControl property to something other than the previous control in the tab order (or the next control if there is no previous control) automatically sets the autoBuddy property to false.

See Also   getAutoBuddy