共用方式為


ActionsPane.GetNextControl(Control, Boolean) Method

Definition

Retrieves the next control forward or back in the tab order of child controls.

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

Parameters

ctl
Control

The control to start the search with.

forward
Boolean

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

Returns

The next control in the tab order.

Remarks

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

Applies to