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:27:12
 
 
To
29/10/2004 07:20:35
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 7
OS:
Windows XP SP2
Miscellaneous
Thread ID:
00955711
Message ID:
00955752
Views:
13
Alex

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.

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.

Terry

>>Can anyone see anything wrong with this code below? It's a whole method in itself. It works fine. That's the issue. Maybe I've missed something over the years but I always assumed, if you reference a container's objects, you have to reference the container first. Note there is no "With thisform" surrounding the code with .cboTables in it.
>>
>>I also noticed this with a form property that I'd referenced in another method, without the "thisform" before it.
>>
>>Is this feature well known, is this a freak or what. Am I the last to realise this?
>>
>>Terry

>
>Is this Method called from inside a WITH ThisForm somewhere else?
>(i.e. "inheriting" a WITH ThisForm)
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform