On Dec 29, 2006, at 11:03 AM, Norman Palardy wrote:
On Dec 29, 2006, at 10:46 AM, Chuck Pelto wrote:
Perhaps I'm not describing it properly.
I understand the new Window1 approach.
What I'm dealing with here is an existing Window.
I have several Windows.
Window1
Window2
Window3
In Window1 I have declared a property known as relatedWindow as
Window
I set relatedWIndow to Window2 by the following:
relatedWindow = Window2
Then I try to set values of properties, e.g., a string property,
in Window2 via the relatedWindow property by:
relatedWindow.aProperty = "Something or other...."
This does not compile.
Hope that explains my situation better.
The relatedWindow is not JUST a plain Window, it is a Window2
A Window does not have a property called "aProperty" but a Window2
does
The problem is that you're not using the right kind of variable
Actually, aProperty is just a generic name for any sort of property
that one could declare. Sort of like myFoo.
If you declare relatedWindow as Window2 this would work
The problem is that I want something that is more generic for ANY
sort of Window. Not just a Window2 or Window3. I'm looking for
something that can be set to either a Window2 or Window3 or WindowX.
Regards,
Chuck
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>