Control::GetNextControl Method (Control^, Boolean)
.NET Framework (current version)
Retrieves the next control forward or back in the tab order of child controls.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- ctl
-
Type:
System.Windows.Forms::Control^
The Control to start the search with.
- forward
-
Type:
System::Boolean
true to search forward in the tab order; false to search backward.
The GetNextControl method is dependent on tab order. To iterate through all controls of a form, including nested controls, use the Controls property. To get or set the active control of a container control, use the ActiveControl property.
.NET Framework
Available since 1.1
Available since 1.1
Show: