Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I do this with WITH THISFORM...ENDWITH?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00456855
Message ID:
00457472
Views:
28
>>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?
>
>http://msdn.microsoft.com/library/default.asp?URL=/library/devprods/vs6/vfoxpro/foxhelp/dgcreating_forms.htm , "Naming the Form Object"

Thanks, Garret!

When I read it, I discovered that I knew about the NAME and LINKED clauses, but as never used it, it surprised me to see a form manipulated by the .SCX name.

Just so different from our daily codign practices, that it seemed alien!
Previous
Reply
Map
View

Click here to load this message in the networking platform