Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need help with disabling and enabling menu items!
Message
De
02/12/1997 12:46:12
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00063319
Message ID:
00063344
Vues:
51
>>>>I'll give a very simple example to show what I would like to do:
>>>>Menu name: 'super1'
>>>>Menu Pad: 'cu' ----> opens form 'dataentry'
>>>>
>>>>I want menu pad 'cu' to be disabled while form dataentry is being used.
>>>>
>>>>I assume that I have to enter some code in the "skip for" box which tests to see if form 'dataentry' is being used. Am I on the right track here? If so, how do I get the menu to determine that form 'dataentry' is indeed being used? If I'm out in right field with this, do you have any other suggestions?
>>>>
>>>>Any help would be appreciated.
>>>>
>>>>Thanks, AL
>>>
>>>Used("dataentry")
>>
>>NOPE. USED() is for DBFs.
>>
>>set your form name to "frmentry" for example
>>
>>SKIP FOR WEXIST('frmentry')
>>
>>That should do the trick.
>>
>>HTH
>
>Matt, Thanks again for the tip. Here's another one for you. Is there an easy way to disable the 'Quit" pad when ANY FORM is open?
>
>AL

I think using the same method Ed suggested earlier will work here.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform