This documentation is archived and is not being maintained.
Control.GetNextControl Method
.NET Framework 1.1
Retrieves the next control forward or back in the tab order of child controls.
[Visual Basic] Public Function GetNextControl( _ ByVal ctl As Control, _ ByVal forward As Boolean _ ) As Control [C#] public Control GetNextControl( Control ctl, bool forward ); [C++] public: Control* GetNextControl( Control* ctl, bool forward ); [JScript] public function GetNextControl( ctl : Control, forward : Boolean ) : Control;
Parameters
- ctl
- The Control to start the search with.
- forward
- true to search forward in the tab order; false to search backward.
Return Value
The next Control in the tab order.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also
Control Class | Control Members | System.Windows.Forms Namespace | TabIndex
Show: