BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

hiding a menu

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Usage)
View previous topic :: View next topic  
Author Message
Paul Dowd
Guest





PostPosted: Sun Apr 18, 2004 2:10 am    Post subject: hiding a menu Reply with quote



Hi,

How is it possible to hide a menu?

Paul



Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Sun Apr 18, 2004 5:10 am    Post subject: Re: hiding a menu Reply with quote




"Paul Dowd" <pauldowd (AT) seisqc (DOT) freeserve.co.uk> wrote


Quote:
How is it possible to hide a menu?

Please elaborate. What exactly are you trying to accomplish?


Gambit



Back to top
Paul Dowd
Guest





PostPosted: Sun Apr 18, 2004 9:22 am    Post subject: Re: hiding a menu Reply with quote



I have a window, with a toolbar & menu, which displays a picture and I want
to be able to provide a "full screen" option. To accomplish this I am able
to hide the toolbar and set the window border to none, but the menu still
stays there.

--

"Remy Lebeau (TeamB)" <gambit47.no.spam (AT) no (DOT) spam.yahoo.com> wrote

Quote:

"Paul Dowd" <pauldowd (AT) seisqc (DOT) freeserve.co.uk> wrote in message
news:4081e3cd (AT) newsgroups (DOT) borland.com...

How is it possible to hide a menu?

Please elaborate. What exactly are you trying to accomplish?


Gambit





Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Sun Apr 18, 2004 8:47 pm    Post subject: Re: hiding a menu Reply with quote


"Paul Dowd" <pauldowd (AT) seisqc (DOT) freeserve.co.uk> wrote


Quote:
I have a window, with a toolbar & menu, which displays a
picture and I want to be able to provide a "full screen" option.
To accomplish this I am able to hide the toolbar and set the
window border to none, but the menu still stays there.

Assuming you are referring to a TMainMenu, have you tried simply setting the
form's Menu property to NULL when needed?

Otherwise, if you are using BCB5 or 6, try looking at using a TFrame. You
could have your form content placed inside the frame, and then simply move
the entire frame from one form to another when needed. You could then have
one form that has your menu and toolbar, and one form that doesn't.


Gambit



Back to top
Paul Dowd
Guest





PostPosted: Thu Apr 22, 2004 12:08 pm    Post subject: Re: hiding a menu Reply with quote

I have in fact found a solution along the lines of what you suggest using a
TFrame.
Many thanks for the help.
Paul

--

"Remy Lebeau (TeamB)" <gambit47.no.spam (AT) no (DOT) spam.yahoo.com> wrote

Quote:

Assuming you are referring to a TMainMenu, have you tried simply setting
the
form's Menu property to NULL when needed?

Otherwise, if you are using BCB5 or 6, try looking at using a TFrame. You
could have your form content placed inside the frame, and then simply move
the entire frame from one form to another when needed. You could then
have
one form that has your menu and toolbar, and one form that doesn't.




Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Usage) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.