- ctl
- The System.Windows.Forms.Control at which to start the search.
- forward
- true to move forward in the tab order; false to move backward in the tab order.
- tabStopOnly
- true to ignore the controls with the System.Windows.Forms.Control.TabStop property set to false; otherwise, false.
- nested
- true to include nested (children of child controls) child controls; otherwise, false.
- wrap
- true to continue searching from the first control in the tab order after the last control has been reached; otherwise, false.
Visual Basic (Declaration) | |
---|---|
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 |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As Medical3DControl Dim ctl As Control Dim forward As Boolean Dim tabStopOnly As Boolean Dim nested As Boolean Dim wrap As Boolean Dim value As Boolean value = instance.SelectNextControl(ctl, forward, tabStopOnly, nested, wrap) |
C# | |
---|---|
public bool SelectNextControl( Control ctl, bool forward, bool tabStopOnly, bool nested, bool wrap ) |
C++/CLI | |
---|---|
public: bool SelectNextControl( Control^ ctl, bool forward, bool tabStopOnly, bool nested, bool wrap ) |
Parameters
- ctl
- The System.Windows.Forms.Control at which to start the search.
- forward
- true to move forward in the tab order; false to move backward in the tab order.
- tabStopOnly
- true to ignore the controls with the System.Windows.Forms.Control.TabStop property set to false; otherwise, false.
- nested
- true to include nested (children of child controls) child controls; otherwise, false.
- wrap
- true to continue searching from the first control in the tab order after the last control has been reached; otherwise, false.
Return Value
true if a control was activated; otherwise, false.Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7