Right - I have an MDI container form, to which I add children like this:
Dim newWin As New frmDisplay()
? ? ? ?newWin.MdiParent = Me
? ? ? ?newWin.Show()
Nice 'n simple. But I need to get some sort of ID for the child forms. Something like an integer (that would probably start at 0 or 1). I need to be able to get this number for the active form, and then use it to call inactive forms up.
Failing that, a way to give/get a unique identifier for the forms might work.
Question
snippet1
Right - I have an MDI container form, to which I add children like this:
Nice 'n simple. But I need to get some sort of ID for the child forms. Something like an integer (that would probably start at 0 or 1). I need to be able to get this number for the active form, and then use it to call inactive forms up.
Failing that, a way to give/get a unique identifier for the forms might work.
Get what I mean?
~snippet1
Link to comment
Share on other sites
15 answers to this question
Recommended Posts