 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Paul Dowd Guest
|
Posted: Sun Apr 18, 2004 2:10 am Post subject: hiding a menu |
|
|
Hi,
How is it possible to hide a menu?
Paul
|
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Sun Apr 18, 2004 5:10 am Post subject: Re: hiding a menu |
|
|
"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
|
Posted: Sun Apr 18, 2004 9:22 am Post subject: Re: hiding a menu |
|
|
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
|
Posted: Sun Apr 18, 2004 8:47 pm Post subject: Re: hiding a menu |
|
|
"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
|
Posted: Thu Apr 22, 2004 12:08 pm Post subject: Re: hiding a menu |
|
|
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 |
|
 |
|
|
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
|
|