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

If you declare relatedWindow as Window2 this would work




_______________________________________________
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>

Reply via email to