Solved

Change the Mainmenu parent

Posted on 2007-12-01
3
248 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

786 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