Problem accessing mdi parent form's properties and methods

  • Thread starter Thread starter David L Wright II
  • Start date Start date
D

David L Wright II

I am trying to access a mdi parent form's properties and methods outside of
the mdi parent form's class module. I keep getting "Reference to a
non-shared member requires an object reference" compiler error.

The mdi parent form is the startup object. I should be able to access the
startup object in my other modules, but I cannot find the startup object's
name.

Does anyone have suggestions?
 
David L Wright II said:
I am trying to access a mdi parent form's properties and methods
outside of the mdi parent form's class module. I keep getting
"Reference to a non-shared member requires an object reference"
compiler error.

The mdi parent form is the startup object. I should be able to
access the startup object in my other modules, but I cannot find the
startup object's name.

Does anyone have suggestions?

If you want to access an object, you need a reference. If you don't have it,
you must pass it to the object or procedure that needs it.


--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html
 
Back
Top