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:
00457319
Vues:
34
>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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform