Solved

Change the Mainmenu parent

Posted on 2007-12-01
3
243 Views
Last Modified: 2010-04-05
hi experts,

i need to change the main menu parent from the main form to an tpanel.

somthing like windows.setparent( mainmenu.handle , panel1.handle) do not work :)
0
Comment
Question by:dMa
3 Comments
 
LVL 1

Expert Comment

by:tammoz
ID: 20390108
hi
I think it is not possible because Tpanel can not be a parent of a Tmainmenu component
0
 
LVL 2

Author Comment

by:dMa
ID: 20394443
or even change the position not to be on top :)
0
 
LVL 21

Accepted Solution

by:
ziolko earned 250 total points
ID: 20394751
you cant change menu's parent to panel because it's not menu who draws itself on form but form draws menu items on itself, and panel is not capable of doing this. for same reason it's not possible to move menu in other place than top of form.
if you need such functionality you need some 3rd party components for example http://www.devexpress.com/Products/VCL/ExBars/

ziolko.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

863 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now