|
-
Aug 1st, 2002, 12:56 PM
#1
Thread Starter
New Member
Forms and controls
I have a form that I open using
dim frm as new FrmMain()
frm.show
from that form I open another form
dim frm as new FrmEdit()
frm.show
now how do i change the controls on the first form from the second form?
-
Aug 1st, 2002, 02:16 PM
#2
PowerPoster
You can pass a reference of the main form to the newly created form, and I have shown how to do that in the past here if you search for it.
But, I was browsing the MSDN library the other day, and found this.
http://msdn.microsoft.com/library/de...adingtonet.asp
It shows you exactly how to do it, and it is probably a better way. I would give that a good read.
-
Aug 2nd, 2002, 06:50 AM
#3
Thread Starter
New Member
Thanks
Cheers for that, just what I was looking for!
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
|