Einzelnen Beitrag anzeigen

DSCHUCH

Registriert seit: 6. Jun 2007
Ort: Dresden
185 Beiträge
 
Delphi 10.2 Tokyo Enterprise
 
#4

AW: DevExpress Ribbons

  Alt 16. Nov 2011, 22:25
hallo zend,

also die devexpress ribbons sind sehr gut. wie alles von devexpress extrem anpassbar und somit auch sehr komplex.
die hilfe ist ausserdem auch hervorragen. ich weiß ja nicht wie und wo du gesucht hast, sie ist in jedem format verfügbar und integriert sich in den microsoft document explorer, genau wie die delphi hilfe.

ich bin aber jetzt auch erstmal beinah verrückt geworden. der trick liegt darin, das du für den ribbon button zwingend auch ein quickaccesstoolbar benötigst. das ist ein property am TdxRibbon. (und steht natürlich nicht in der hilfe... ^^)


Zitat:
Visually, the menu is divided into two panels:

The main menu (left panel).

The extra pane that contains a list of shortcuts, such as recently used files.


Main Menu Customization

To build a new menu, do the following:

1. Make certain that the bar manager component is on a form, and the required menu items are defined. For details, see the Customization Form topic.

2. Drop the Ribbon Application Menu control from the Component Palette's ExpressBars page onto the form. The bar manager will be automatically linked to the menu's BarManager property.

3. In the Object Inspector, click the ellipsis button next to the menu's ItemLinks property to invoke the Customization Form and the menu designer. Drag menu items from the Customization Form into the menu designer.



4. Select the Ribbon control and bind the newly created menu to the Ribbon Application Button via the Ribbon's ApplicationButton.Menu property.


Extra Pane Customization

The list in the menu's right panel is populated via the menu's ExtraPane.Items property. To inform end-users about this list's purpose, provide it with a header using the menu's ExtraPane.Header property.

To respond to list item clicks, handle the menu's ExtraPane.OnItemClick event.


Related Information

Ribbon Control
Ribbon Quick Access Toolbar
Ribbon Status Bar
Ribbon Tab
Ribbon Tab Group
Ribbon User Interface
TdxBarApplicationMenu Object
TdxBarApplicationMenuExtraPane Object


Copyright © 1998-2010 Developer Express Inc. ALL RIGHTS RESERVED
Miniaturansicht angehängter Grafiken
help.jpg  
  Mit Zitat antworten Zitat