not opening up another dialog box

Y

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?
 
H

Herfried K. Wagner [MVP]

Hello,

yup said:
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.
 
C

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
 
B

Bernie Yaeger

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top