Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
With thisform - we ain't got no stinkin' ...
Message
From
29/10/2004 09:43:24
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 7
OS:
Windows XP SP2
Miscellaneous
Thread ID:
00955711
Message ID:
00955761
Views:
13
>Interesting point. Yes the function is called from within a "With thisform", itself in the .Init() method. So a "With thisform" can be inherited then, do you think? Even though all methods are on the same hierarchical level, i.e. form level? Even when called from another method?
>
>I don't recall ever reading this but maybe I've missed it.



I don't particularly like it from a self-documenting point of view. And who knows if that may break in the future. I prefer to issue a WITH ThisForm explicitly.


>Anyway, it's not a problem really - more a convenience! Trouble maybe in forward compat. e.g. the compiler got a lot tighter and meaner between v3 and v7. When I converted a proj. I discovered lots of places where a continuation line of LOCAL decl's had not been preceded by ";", but I'd got away with that in V3.

Yes, that's a documented behaviour change.


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform