Control.getNextControl

Overview | Methods | Fields | This Package | All Packages

Control.getNextControl

Retrieves the control that follows or precedes the specified control in the tab order.

Syntax

public final Control getNextControl( Control ctl, boolean forward )

Parameters

ctl

A Control object that represents the control to start the search from.

forward

Set to true to search forward through the tab order from the specified control; set to false to search backward through the tab order.

Return Value

Returns a Control object that represents control immediately before or after the specified control in the tab order.