This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
Control.SelectNextControl
Selects the next control following ctl.
[Visual Basic]
Public Function SelectNextControl( _
ByVal ctl As Control, _
ByVal forward As Boolean, _
ByVal tabStopOnly As Boolean, _
ByVal nested As Boolean, _
ByVal wrap As Boolean _
) As Boolean
[C#]
public bool SelectNextControl(
Control ctl,
bool forward,
bool tabStopOnly,
bool nested,
bool wrap
);
[C++]
public: bool SelectNextControl(
Control* ctl,
bool forward,
bool tabStopOnly,
bool nested,
bool wrap
);
[JScript]
public function SelectNextControl(
ctl : Control,
forward : Boolean,
tabStopOnly : Boolean,
nested : Boolean,
wrap : Boolean
) : Boolean;
Parameters
- ctl
- Control to start the search at.
- forward
- Determines if the search is forward or backward in the tabOrder
- tabStopOnly
- Determines if only controls with tabStop set to true will be looked at.
- nested
- Determines if only direct children of this control are considered or if nested children will be looked at.
- wrap
- Determines if the search will wrap around to the first tabindex if nothing is hit.
Return Value
true if a control was selected.
See Also
Control Class | Control Members | System.WinForms Namespace