Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I do this with WITH THISFORM...ENDWITH?
Message
From
28/12/2000 09:53:57
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00456855
Message ID:
00457319
Views:
33
>Oops, that was a false memory. That happened in my addactivate method which is called by my baseclass form's Activate. This method call is from within a WITH/ENDWITH. I thought that was somewhat bizarre behaviour at the time and changed it when I found it -- just in case MS decides to fix it in future versions.

Waw! I feel better now. I thought it was me that can't make it work. And I wasn't sure it was a nice behaviour after all...

What I found that I really didn't know (seeing at a really poor activex sample code) is that when you issue:

DO FORM MYFORM

you get a public reference to the form under the variable MYFORM.

Therefore you can do, for example:

MYFORM.CAPTION = "Isn't is funny!"

Is this documented somewhere?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform