TdxScreenTipRepository Class
A ScreenTip repository.
Declaration
TdxScreenTipRepository = class(
TcxScalableComponent
)
Remarks
A ScreenTip repository is a component used for storing information on control ScreenTips. It stores the ScreenTip collection (see the repository’s Items property) and provides the following ScreenTip-specific settings:
DescriptionFont property – specifies font settings for a descriptive text displayed in the ScreenTip window’s description section.
FooterFont property – specifies font settings for a descriptive text displayed in the ScreenTip window’s footer section.
HeaderFont property – specifies font settings for a descriptive text displayed in the ScreenTip window’s header section.
AssignedFonts property – activates font settings specified by the above properties.
ShowDescription property – specifies whether to show an enhanced ScreenTip.
StandardFooter property – provides settings for a ScreenTip window’s footer section common to a number of ScreenTips.
The TdxScreenTipRepository component provides a design-time editor that allows you to manage and customize ScreenTips. Refer to the Items property description for details on how to display this editor.
Note: Ribbon UI elements provide built-in support for ScreenTips created with the TdxScreenTipRepository component. All other VCL controls (TControl descendants) require that you perform the following to enable ScreenTips for them:
Add a TcxHintStyleController component to a form and switch the component’s HintStyle property to use TdxScreenTipStyle.
For toolbar items that reside on traditional toolbars shipped with the ExpressBars Suite, set a bar manager’s UseBarHintWindow property to False and associate individual toolbar items with ScreenTips using an item’s ScreenTip property.
For all other controls, associate them with corresponding ScreenTips using the TcxHintStyleController component’s HintStyle.ScreenTipLinks and HintStyle.ScreenTipActionLinks collections.