Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SET SKIP OF PAD
Message
De
02/03/1999 10:55:56
 
 
À
02/03/1999 06:21:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Titre:
Divers
Thread ID:
00193063
Message ID:
00193158
Vues:
15
Hi John ---

SET SKIP OF and transient objects don't work and play well because you can't trap things like ActiveForm, etc, without code. Try this: Create a custom object with properties tied to ActiveForm properties and init the object when the app is inited. You can SET SKIP to an object property for this object because it will always exist. You can set the object properties via Form and Control events to make sure it behaves the way you expect.



> I have use menu designer to create mymenu. I try to set skip of pad of mymenu in skip for field but it is not working. I tried the follwing code but still the got error in different situation.
> _screen.forms(1).mycontrol.enabled = .f.
> It can work only if there is only a myform. If I try to issue DO FORM command, error will be occurs: "Unknown member mycontrol"
> Myformname.mycontrol.enabled = .f.
> Myformname cannot be evaluted.
> Any solutions?
>
>Thank you
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform