Megosztás a következőn keresztül:


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

  • forward
    Type: System.Boolean

    true to move forward in the tab order; false to move backward in the tab order.

  • tabStopOnly
    Type: System.Boolean

    true to ignore the controls with the TabStop property set to false; otherwise, false.

  • nested
    Type: System.Boolean

    true to include nested (children of child controls) child controls; otherwise, false.

  • wrap
    Type: System.Boolean

    true 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

See Also

Reference

ActionsPane Interface

Microsoft.Office.Tools Namespace

Other Resources

Actions Pane Overview