Skip to content

XTPTabToolTipBehaviour Enumeration

Description

Specifies when tool tips should be displayed for tab buttons in the TabWorkspace.

Members

Member Description
xtpTabToolTipNever Tool tips will never be displayed for tab buttons in the TabWorkspace.
xtpTabToolTipAlways Tool tips will always be displayed for tab buttons in the TabWorkspace.
xtpTabToolTipShrinkedOnly Tool tips will only be displayed when the layout is xtpTabLayoutSizeToFit and the tab button is not fully visible (the button's caption is not fully visible).

Remarks

By default, tool tips will only be displayed for tab buttons in the TabWorkspace when the tab layout is xtpTabLayoutSizeToFit and the tab button is not fully visible (the button's caption is not fully visible). Setting the ToolTipBehavior to xtpTabToolTipAlways will display tool tips for the tab buttons regardless of the layout used.

Example

ToolTipBehaviour Sample (Visual Basic)

This sample illustrates how to display tool tips for tab buttons in the TabWorkspace regardless of the layout used.

CommandBars.TabWorkspace.PaintManager.Layout = xtpTabLayoutMultiRow  
CommandBars.TabWorkspace.PaintManager.ToolTipBehaviour = xtpTabToolTipAlways

See Also


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