|
-
Jun 30th, 2004, 03:41 AM
#1
Thread Starter
Hyperactive Member
Can't reference control in MDI window from modal window
This is wierd,
I have an MDI child form created. Now when I open a modal from this child form to change some properties, I get a system.nullreference exception. Yet in the VS IDE it seems I am referencing the control correctly...
i.e
Dim frmChild as frmChildWindow
frmChild.TextBox1.Text = "Hello"
The editor sees textbox1 as being a control that exists, so why when I try to set its text value does it give ma a NullReferenceException?
Thanks
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
|