| | |
MDI Forms
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved |
Sure.
Create a new project, add an MDI form and 2 or more MDI Child forms.
in the MDI Form code window paste:
Click on the MDI form to see which child form is currently active. The .ActiveForm property gives you complete access to the current active MDI Child. For example: .hide .show .caption .width .height etc...
Create a new project, add an MDI form and 2 or more MDI Child forms.
in the MDI Form code window paste:
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
Private Sub MDIForm_Click() MsgBox Me.ActiveForm.Caption End Sub
Click on the MDI form to see which child form is currently active. The .ActiveForm property gives you complete access to the current active MDI Child. For example: .hide .show .caption .width .height etc...
Last edited by agrothe; Jun 27th, 2006 at 8:22 pm. Reason: wrong code tag
------------------------------------------------------------
If you see no coffee in my immediate vicinity, speak slowly and use small words....
ConnectNL Directory | Blog
If you see no coffee in my immediate vicinity, speak slowly and use small words....
ConnectNL Directory | Blog
![]() |
Similar Threads
- What is the difference between simple form & MDI form? (Visual Basic 4 / 5 / 6)
- MDI Child Form Placement (C#)
- MDI forms and their Children (Visual Basic 4 / 5 / 6)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: MDI From Query
- Next Thread: Datareport -Report Header Section
Views: 2336 | Replies: 2
| Thread Tools | Search this Thread |
Tag cloud for Visual Basic 4 / 5 / 6
* 6 429 2007 access activex add age append application basic beginner birth bmp c++ calculator cd cells.find click client code college column connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report retrieve save search sendbyte sites sort sql sql2008 sqlserver struct subroutine table tags textbox time timer urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window





