[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Change the Mainmenu parent

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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
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…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses

834 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