Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > Tools

Lost Password?

Reply
 
Thread Tools Display Modes
  #1  
Old 11-16-2004, 07:04 AM
ar4i ar4i is offline
Senior Member
 
Join Date: Nov 2003
Posts: 138
Default If I place a mainmenu on a toolbar then how to hide the real MainMenu?

If I do this:
1. drop on form the TCoolbar
2. drop on coolbar the TToolbar
3. link your menu to toolbar
4. create a few another bands in Coolbar

Then I get TWO menus in runtime! How can I create the actual mainmenu and leave only the one placed on the toolbar visible?
Reply With Quote
  #2  
Old 11-16-2004, 08:00 AM
Rob-Z Rob-Z is offline
Senior Member
 
Join Date: Jul 2003
Posts: 134
Default RE: If I place a mainmenu on a toolbar then how to hide the real MainMenu?

Go to your form properties and take the "Menu" value out.

PLEASE CLICK Accept as Answer IF HELPFUL

Rob
Reply With Quote
  #3  
Old 11-16-2004, 10:59 PM
mshkolnik mshkolnik is offline
Senior Member
 
Join Date: Jul 2001
Posts: 4,195
Default RE: If I place a mainmenu on a toolbar then how to hide the real MainMenu?

yourForm.Menu := nil from code

Or clear the Menu property for form in Object Inspector

With best regards, Mike Shkolnik
http://www.scalabium.com
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:26 AM.


Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2019, vBulletin Solutions, Inc.