not opening up another dialog box

  • Thread starter Thread starter yup
  • Start date Start date
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?
 
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.
 
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
 
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
 
Back
Top