?
Solved

Change the Mainmenu parent

Posted on 2007-12-01
3
Medium Priority
?
261 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
[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
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 750 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

Independent Software Vendors: 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

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Suggested Courses
Course of the Month15 days, 6 hours left to enroll

741 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