Le 6 sept. 06 à 19:31 Soir, Robert Poland a écrit:

Hi,

In Class1 I have this statement"w=TextWindow"

When I run it I get the error This property does not exist.

I have w=TextWindow set as a property, Global in TextWindow. I thought that a global property could be accessed from anywhere without a prefix.

This is true for modules.
For classes and windows, global is named public. (at least in my RB version).

For example, say you have 2 windows opened (you used w=new win1 twice).

Then how would the compiler knows for which win1
MyWin1Property=2
refers to?

That semms logical to keep the 
prefix._______________________________________________
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