UpDown.getAutoBuddy

Overview | Methods | This Package | All Packages

UpDown.getAutoBuddy

Retrieves 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 boolean getAutoBuddy()

Return Value

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

Remarks

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 next control, if there is no previous control), automatically sets the autoBuddy property to false.

See Also   setAutoBuddy