?
Solved

TdxBarManager - adding a break line to menu at runtime

Posted on 2004-10-14
2
Medium Priority
?
1,583 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 6

Accepted Solution

by:
vadim_ti earned 500 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses
Course of the Month8 days, 8 hours left to enroll

764 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