Udostępnij za pośrednictwem


ActionsPane.SelectNextControl Method

Definition

Activates the next control.

public:
 bool SelectNextControl(System::Windows::Forms::Control ^ ctl, bool forward, bool tabStopOnly, bool nested, bool wrap);
public bool SelectNextControl (System.Windows.Forms.Control ctl, bool forward, bool tabStopOnly, bool nested, bool wrap);
abstract member SelectNextControl : System.Windows.Forms.Control * bool * bool * bool * bool -> bool
Public Function SelectNextControl (ctl As Control, forward As Boolean, tabStopOnly As Boolean, nested As Boolean, wrap As Boolean) As Boolean

Parameters

ctl
Control

The Control at which to start the search.

forward
Boolean

true to move forward in the tab order; false to move backward in the tab order.

tabStopOnly
Boolean

true to ignore the controls with the TabStop property set to false; otherwise, false.

nested
Boolean

true to include nested (children of child controls) child controls; otherwise, false.

wrap
Boolean

true to continue searching from the first control in the tab order after the last control has been reached; otherwise, false.

Returns

true if a control was activated; otherwise, false.

Remarks

This method provides the same functionality as the System.Windows.Forms.Control.SelectNextControl method. For more information about using this method, see System.Windows.Forms.Control.SelectNextControl.

Applies to