Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
New MS conspiracy
Message
From
03/05/2002 14:59:27
 
 
To
03/05/2002 14:53:33
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00651992
Message ID:
00652573
Views:
23
>Nope, in the code above, he's defining a property (well, in .NET speak, its a "field" but same thing) called "thisform". In order to access a property or field of the current object, you don't need to specify "this" or "Me".
>
>
string ClassProp
>void ClassMethod() {
>   ClassProp = "Notice I can set classprop without this or me"
>}
>
>So, if he sets the "thisform" property to reference "Me", thisform.ClassProp will effectively reference Me.ClassProp in your code. Make sense?

Yeah! I didn't understood what was he trying to do at first, beside of the joke.

Thanks, Mike.
Previous
Reply
Map
View

Click here to load this message in the networking platform