Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WITH xxx AS
Message
 
 
To
11/03/2008 13:40:08
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01300971
Message ID:
01300976
Views:
10
>This construction was shown at a local user group meeting. I don't work much with VFP 9 so I wasn't aware of it.
>LOCAL ox AS excel.application
>ox = createobject('excel.application)
>ox.   ---> drops down the intellisense list of properties, methods
>
>This can be extended to
>abc = thisform.myControl
>WITH abc AS myClass of myClassLib
>.   --->drops down the intellisense list of properties, methods
>
>
>What I haven't figured out (and hope that it exists) is how to work with ThisForm. Say I'm working in the form designer and have added some properties and methods. How can I do
>tf = thisform
>WITH tf AS ??????????
>.  ---> and see all the properties, etc including the ones I added in the designer
>
>I hope the question is comprehensible. All responses appreciated.
>
>.........Rich

If this is in designer, then with thisform would work fine.

If you're writting this in code, then

with thisform as Form
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform