Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can I do this with WITH THISFORM...ENDWITH?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00456855
Message ID:
00457472
Vues:
29
>>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!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform