Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form calls function in design mode
Message
De
20/04/2009 22:07:22
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01395196
Message ID:
01395704
Vues:
56
>I don't think Thisform is available during property evaluation but if you put your code in an UDF and reference it instead, it may work.

I've had a case when it would run code in a procedure file if it was open, but would ignore it if it was not. It didn't use the result - the .caption="=someroutine('parameter')" would run (I know because it referenced a table which wasn't open so it would error out), but the caption property remained. IOW, I could have used this for some sideeffects - to, maybe, open some tables, procedure files, load builders and whatnot, and maybe even get a reference to the class via aSelObj(). Didn't try, though, my builders run from the command window, so I didn't need this and couldn't think of another use for it.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform