Skip to content

ShowNavigateButton Method

Description

Used to specify if and when a specific tab navigation button is displayed in the tab control header.

Syntax

Public Sub ShowNavigateButton( _
    ByVal Button As XTPTabNavigateButton, _
    ByVal Flags As XTPTabNavigateButtonFlags _
)

Parameters

Button

Value Description
xtpTabNavigateButtonLeft Left tab navigation button.
xtpTabNavigateButtonRight Right tab navigation button.
xtpTabNavigateButtonClose Close tab navigation button.

Specifies the button to apply a XTPTabNavigateButtonFlags flag to.

Flags

Value Description
xtpTabNavigateButtonNone Never display the navigate button.
xtpTabNavigateButtonAutomatic Automatically display the navigate button.
xtpTabNavigateButtonAlways Always display the navigate button.

Specifies the XTPTabNavigateButtonFlags flag to apply to the XTPTabNavigateButton indicated by the Button parameter.

Remarks

The ShowNavigateButton method uses the XTPTabNavigateButtonFlags and XTPNavigateButton enumerations to specify when each of the tab navigation buttons will be displayed in the tab control header. Each button can have a different flag applied.

If xtpTabNavigateButtonAutomatic is used, then the button will appear only when needed. For example, when the XTPTabLayoutStyle is set to xtpTabLayoutAutoSize, all tabs might not fit in the tab control header area. When there are more tabs than can fit in the header, the button will automatically be displayed.

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.