Re: Open child form from dialog form

Tech-Archive recommends: Fix windows errors by optimizing your registry



"Simon Abolnar" <Simon.Abolnar@xxxxxxxxx> schrieb
I would like to know how to open child form from dialog form.


Is the child form to be a child of the dialog form or of another form?

Child form is meant that is child of MDI form.


Does the dialog form know the MDI form or is it a multi-purpose form
that can be used from different places? That's a question of
abstraction. What does the dialog form do? Will it be closed after
the child Form has been opened? Which results can it pass back to
the caller?

My dialog form is login form. When application start, dialog is open through ShowDialog.

Is the login form the startup object of the project?

If login is successful, I would like to close my dialog form and open
other  child form of MDI.

This sounds like the MDI form is the startup form.

Which one is true?

I ask to find the best solution.

Armin
.



Relevant Pages

  • Re: notify MDI parent when a child form is about to close...
    ... introduce subclassing for a trivial matter such as this? ... able to trap when the child form is created... ... :> In the MDI Form, write your validation in a Boolean function called ...
    (microsoft.public.vb.general.discussion)
  • Re: Modal Form Causes Task Switcher Icon to Disappear
    ... use of a MDI Form. ... The Child Form has a command button that opens ... I attached an icon to the MDI Form from one of the cursors in the ... Private Sub Command1_Click ...
    (comp.lang.basic.visual.misc)
  • RE: Arranging Child Forms
    ... This will place the form in the top left corner of the MDI form. ... > one child form at a time, moving from form to form as required. ... > is that the MDI form is arranging them cascade and so each time I move to a ... I would like to display each child form so ...
    (microsoft.public.vb.general.discussion)
  • Re: Mdi Form Validating
    ... I am guessing you mean when you switch from one child form to the other. ... I need to validate data in the Mdi form. ... How can I keep the focus in MdiForm1 when the user wants to change ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Modal Form Causes Task Switcher Icon to Disappear
    ... use of a MDI Form. ... The Child Form has a command button that opens ... I attached an icon to the MDI Form from one of the cursors in the ... The icon from ALT+TAB did a proverbial vanishing rabbit ...
    (comp.lang.basic.visual.misc)