468,103 Members | 1,307 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,103 developers. It's quick & easy.

not opening up another dialog box

yup
I was wondering if you know a way to have, let's say, you
would click on a menu bar item (where something like
file, edit, format, help options are on Microsoft Word)
and instead of opening a dialog box it would "switch" to
another page (within the program) and maintain the same
menu bar as before.

For example, in Quicken I would click on "Finances"
then "Account List" and a new page would open under the
existing menu bar. It wouldn't open another dialog box.
How would I do this?
Nov 20 '05 #1
3 1564
Hello,

"yup" <me****@msn.com> schrieb:
I was wondering if you know a way to have, let's say, you
would click on a menu bar item (where something like
file, edit, format, help options are on Microsoft Word)
and instead of opening a dialog box it would "switch" to
another page (within the program) and maintain the same
menu bar as before.

For example, in Quicken I would click on "Finances"
then "Account List" and a new page would open under the
existing menu bar. It wouldn't open another dialog box.
How would I do this?


I don't really understand what you mean, but maybe you want to develop
usercontrols (for each "page" one usercontrol) and instantiate them
dynamically on the form.

--
Herfried K. Wagner
MVP ∑ VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #2
Cor
Hi Yup,
What you are saying sounds like a MDI form, I advise you to take a look for
that.
I hope this helps a little bit.
Cor
Nov 20 '05 #3
Hi,

I think I understand. I've seen Quicken and other programs do what you are
referring to.

Here's what I think is happening: the mdi parent is not changing; instead,
there is an opening child form that has been maximized to contain the entire
window; its buttons and borders have been removed, such that it appears to
be a part of the mdi parent, and the user is not able to alter that
condition. When you make your menu selection, a different child form
replaces it under the same circumstances.

If I get some time I will try to set something like this up; if it works, I
will contact you with more specifics.

HTH,

Bernie Yaeger
"yup" <me****@msn.com> wrote in message
news:08****************************@phx.gbl...
I was wondering if you know a way to have, let's say, you
would click on a menu bar item (where something like
file, edit, format, help options are on Microsoft Word)
and instead of opening a dialog box it would "switch" to
another page (within the program) and maintain the same
menu bar as before.

For example, in Quicken I would click on "Finances"
then "Account List" and a new page would open under the
existing menu bar. It wouldn't open another dialog box.
How would I do this?

Nov 20 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by mg | last post: by
2 posts views Thread by Matt Hamilton | last post: by
reply views Thread by ramendra | last post: by
1 post views Thread by Solo | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.