Control.GetNextControl(Control, Boolean) 메서드

정의

자식 컨트롤의 탭 순서에서 앞뒤에 있는 다음 컨트롤을 검색합니다.

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);
member this.GetNextControl : System.Windows.Forms.Control * bool -> System.Windows.Forms.Control
Public Function GetNextControl (ctl As Control, forward As Boolean) As Control

매개 변수

ctl
Control

검색을 시작하는 데 사용할 Control입니다.

forward
Boolean

탭 순서에서 앞으로 검색하면 true이고, 뒤로 검색하면 false입니다.

반환

Control

탭 순서에서 다음 Control입니다.

설명

GetNextControl 메서드는 탭 순서에 따라 달라집니다. 중첩된 컨트롤을 포함하여 폼의 모든 컨트롤을 반복하려면 이 속성을 사용합니다 Controls . 컨테이너 컨트롤의 활성 컨트롤을 얻거나 설정하려면 이 속성을 사용합니다 ActiveControl .

적용 대상

추가 정보