Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WITH xxx AS
Message
From
11/03/2008 13:40:08
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
WITH xxx AS
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01300971
Message ID:
01300971
Views:
50
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
Next
Reply
Map
View

Click here to load this message in the networking platform