Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SKIP FOR expression
Message
De
17/01/2005 20:42:08
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Titre:
SKIP FOR expression
Versions des environnements
Visual FoxPro:
VFP 7 SP1
Divers
Thread ID:
00977929
Message ID:
00977929
Vues:
57
In the SKIP FOR expression of a menu item I want to refer to a property of the form. This works well if I declare global variables for my forms (like goSomeWindow), but that trick only works well if the form won't be instantiated more than once at the same time. The expression will then be something like:
SKIP FOR goSomeWindow.SomeProp = .T.
This trick has been my reaction to my finding that it is troublesome and frustrating to declare something like:
SKIP FOR _vfp.activeform.SomeProp = .T.
That expression gives an error if the form is out of scope and the expressions are evaluated anyway, for example if the form is minimized.

But now I have a form that can be instantiated more than once at the same time, and my goSomeWindow trick won't work.

Who knows another trick? I'm desperate ( again :).
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform