-
Jun 12th, 2003, 08:56 AM
#1
Thread Starter
Conquistador
Form instancing question
Basically, I have three forms
One is the mdi parent, one's a single time status window and the third will be resusable for channel windows.
Basically i'd like to know how to reference the status form so that all of the project can access it, i.e. my modules and other forms
but without having to create another instance of it
thanks
-
Jun 12th, 2003, 10:30 AM
#2
Thread Starter
Conquistador
(Users Browsing this Forum: Cander, jesus4u, DevGrp, sogtulakk, ssingh, Jefftopia, hellswraith, ewomack, VBCrazyCoder)
That many people and none of you can / will help
:|
-
Jun 13th, 2003, 05:38 PM
#3
I wonder how many charact
Well, perhaps it was terrible explanation of your problem... just a guess...
single-time status window... single time-status window?
Here's my solution:
Just instantiate it at the beginning of your project.... in your Super code...
-
Jun 13th, 2003, 07:24 PM
#4
Thread Starter
Conquistador
Seeing it was posted at 12 am I think that's a fair enough excuse
Thanks for the help, i'd already worked it out the other day
VB Code:
Public Main As New frmMain
Public Status As New frmStatus
Now for the next question:
If I have a form that is going to be dynamically loaded every time certain data is received from a server, how can I reference these in an index.
I.e. each form will be "linked" / responsible for a channel
then, when data comes for that channel, I want to affect the appropriate form?
I was thinking of using the tag property of the created form, but then what collection would I be looping through to find the appropriate form?
Hope thats at least a bit more coherent :P
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|