Solved

TdxBarManager - adding a break line to menu at runtime

Posted on 2004-10-14
2
1,550 Views
Last Modified: 2008-01-09
Hi!
Im using Dev Express TdxBarManager for my main menu. My problem is that I cannot (dont know how to) insert menu break at runtime.
With TMainMenu its simple. You just put - as a caption for menu item and the line is drawn automaticaly. But with TdxBarManager this doesent work.
Can anybody help me?
Thx a lot.
0
Comment
Question by:datalabdd
2 Comments
 
LVL 6

Accepted Solution

by:
vadim_ti earned 125 total points
ID: 12305960

How to add a separator between items in a toolbar
ArticleID: 1274; Product: ExpressBars; Version(s): 5, 4; Technology: VCL; Updated: 7/21/2004

Description

The standard TToolbar allows you to create a separator between items. How can I do this for the ExpressBars toolbar?

Solution


You should access the necessary Item Link or the BarItem and set its BeginGroup property value to True. This will allow you to insert a separator before this Item Link. You may use the same code if you need to insert a separator between the items placed on a dxBarSubItem or dxBarPopupMenu.

  <adxBarButton>.Links[0].BeginGroup := True;

In Customization mode this can be done via the "Begin a Group" item of a BarItem's popup menu. Just right-click a BarItem to invoke the menu. Another way is to drag the desired BarItem to the right/left or to the top/bottom a bit to create/remove a separator.



0
 

Author Comment

by:datalabdd
ID: 12306270
yep ... this works ... thx a lot ;)
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question