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.