how to show child forms on mdiform - Programmers Heaven

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 Posts: 5Member
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 Posts: 59Member
    Dim CurrentForm as New SecondForm
    CurrentForm.MdiParent = Me
    CurrentForm.Show

  • aniskhananiskhan Posts: 5Member
    : 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 Posts: 59Member
    Dim CurrentForm as New childform2
    CurrentForm.MdiParent = Me.MdiParent
    CurrentForm.Show
Sign In or Register to comment.