Skip to main content

Customizing Popup Menu (at runtime)

  • 2 minutes to read

End-users can activate the customizing popup menu by right-clicking a toolbar item provided that the Customization Form is displayed.

The following options are available in this menu.

Reset

Resets the caption, glyph, paint style and width of the selected item control to defaults (resets all the option flags within the UserDefine property of the corresponding toolbar item link).

Removes the selected toolbar item control.

Name

Allows end-users to modify the selected item control’s caption. This option corresponds to a toolbar item link‘s Caption property.

Paint Style Options

These options correspond to the UserPaintStyle property of a toolbar item link. These options are enabled only when the item control is linked to a TdxBarButton. The selected item control is painted in the style that corresponds to the active option.

Option Description
Default Style Sets the standard style for the selected item control (corresponds to the psStandard value of an item link’s UserPaintStyle property).
Text Only (Always) Only a text is painted on the selected item control (corresponds to the psCaption value of an item link’s UserPaintStyle property).
Text Only (In menus) If the selected item control is located on a menu, only text is painted on it (corresponds to the psCaptionInMenu value of an item link’s UserPaintStyle property).
Image and Text Both an image and a text are painted on the selected item control (corresponds to the psCaptionGlyph value of an item link’s UserPaintStyle property).

BeginGroup

If active, the selected item control follows a group separator. This option is disabled for the first item on a toolbar, since it cannot follow a group separator. The option corresponds to the BeginGroup property of a toolbar item link. Use this option to organize items on a toolbar into groups.

See Also