>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