Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Menu Bars
Message
De
20/12/1998 09:16:06
Raymond Humphrys
Michigan Department of Community Health
Bath, Michigan, États-Unis
 
 
À
19/12/1998 22:05:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Titre:
Divers
Thread ID:
00169174
Message ID:
00169231
Vues:
27
That's probably the only way I could of think of doing it. However, I wasn't sure of the syntax or where to put it.

Thanks a lot ...

ray
>>How do you selectively disable menu bars from a form?
>>
>Raymond,
>
>You generally cannot disable a menu bar from a form without a lot of trouble. What you do instead is make use of the menu's "skip for" attribute and identify the condition that may appear on the form that would cause the menu bar to be disabled.
>
>For example, if you want a bar to be disabled if a specific form's control value is false, then the skip for would contain something like
>
>"_Screen.ActiveForm.name # 'myformname' .OR. ;
> _Screen.ActiveForm.mycontrol.value # .T."
>
>If the menu bar determines that that expression evaluates to .F., it will disabled itself.
>
>regards,
Some days it's not worth chewing through the leather straps ...
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform