Share via


ActionsPane.GetNextControl Method

Retrieves the next control forward or back in the tab order of child controls.

Namespace:  Microsoft.Office.Tools
Assembly:  Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)

Syntax

'Declaration
Function GetNextControl ( _
    ctl As Control, _
    forward As Boolean _
) As Control
Control GetNextControl(
    Control ctl,
    bool forward
)

Parameters

  • forward
    Type: System.Boolean

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

Return Value

Type: System.Windows.Forms.Control
The next control in the tab order.

Remarks

This method provides the same functionality as the Control.GetNextControl method. For more information about using this method, see Control.GetNextControl.

.NET Framework Security

See Also

Reference

ActionsPane Interface

Microsoft.Office.Tools Namespace

Other Resources

Actions Pane Overview