Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

how to show child forms on mdiform

aniskhananiskhan Member Posts: 5
hello

i want to have "mdiform" & "2 child forms".

when app loads the mdiform it shows mdiform with childform1(contain a button)

when button_click childform1 hides and childform2 show up..

the problem is with childform2 which shows up as independent form other than mdichild.


Comments

  • munirshahzadmunirshahzad Member Posts: 59
    Dim CurrentForm as New SecondForm
    CurrentForm.MdiParent = Me
    CurrentForm.Show

  • aniskhananiskhan Member Posts: 5
    : Dim CurrentForm as New SecondForm
    : CurrentForm.MdiParent = Me
    : CurrentForm.Show
    :
    :

    OK i have shown the child form in mdi.

    if i have a button on this childform ,i click it,it first hides the childform ,NOOOW i want to show another childform2 for the same mdiform as result of the CLICK..

  • munirshahzadmunirshahzad Member Posts: 59
    Dim CurrentForm as New childform2
    CurrentForm.MdiParent = Me.MdiParent
    CurrentForm.Show
Sign In or Register to comment.