Assembly: System.Windows.Forms (in system.windows.forms.dll)
public bool SelectNextControl ( Control ctl, bool forward, bool tabStopOnly, bool nested, bool wrap )
public boolean SelectNextControl ( Control ctl, boolean forward, boolean tabStopOnly, boolean nested, boolean wrap )
public function SelectNextControl ( ctl : Control, forward : boolean, tabStopOnly : boolean, nested : boolean, wrap : boolean ) : boolean
The Control at which to start the search.
true to move forward in the tab order; false to move backward in the tab order.
true to ignore the controls with the TabStop property set to false; otherwise, false.
true to include nested (children of child controls) child controls; otherwise, false.
true to continue searching from the first control in the tab order after the last control has been reached; otherwise, false.
Return Valuetrue if a control was activated; otherwise, false.
The SelectNextControl method activates the next control in the tab order if the control's Selectable style bit is set to true in ControlStyles, it is contained in another control, and all its parent controls are both visible and enabled.
The Windows Forms controls in the following list are not selectable. Controls derived from controls in the list will also not be selectable.
Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.