ActionsPane.SelectNextControl Method
Activates the next control.
Namespace: Microsoft.Office.Tools
Assembly: Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)
Syntax
'Declaration
Function SelectNextControl ( _
ctl As Control, _
forward As Boolean, _
tabStopOnly As Boolean, _
nested As Boolean, _
wrap As Boolean _
) As Boolean
bool SelectNextControl(
Control ctl,
bool forward,
bool tabStopOnly,
bool nested,
bool wrap
)
Parameters
ctl
Type: System.Windows.Forms.ControlThe Control at which to start the search.
forward
Type: System.Booleantrue to move forward in the tab order; false to move backward in the tab order.
tabStopOnly
Type: System.Booleantrue to ignore the controls with the TabStop property set to false; otherwise, false.
nested
Type: System.Booleantrue to include nested (children of child controls) child controls; otherwise, false.
wrap
Type: System.Booleantrue to continue searching from the first control in the tab order after the last control has been reached; otherwise, false.
Return Value
Type: System.Boolean
true if a control was activated; otherwise, false.
Remarks
This method provides the same functionality as the Control.SelectNextControl method. For more information about using this method, see Control.SelectNextControl.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Office.Tools Namespace