NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Control.GetNextControl

Retrieves the next control 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
Control to start the search at
forward
Determines if the search is forward or backward in the tab order.

Return Value

next control in the tab order.

See Also

Control Class | Control Members | System.WinForms Namespace