|
-
March 8th, 2006, 08:18 AM
#1
Accessing current Mdi child
Hi,
This is probably a very simple problem, but I can't seem to solve it. I have an Mdi application and I need to access the current Mdi child window in a method. When I use Form.ActiveForm.ActiveMdiChild I get a nullReference exception because Form.ActiveForm returns an undefined value. Why is this value undefined ? I thought that Form.ActiveForm returns the main Form of the application which is created at the start of the application.
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
|