Information générale
Catégorie:
Codage, syntaxe et commandes
<snip>
>You are incorrect, if you make the skip for in the menu definition a logical expression like;
>DEFINE BAR 1 OF MyPop PROMPT "Something" SKIP FOR llDisSomething
>then all you have to do is put this code to disable the menu item;
>llDisSomething = .T.
>and to reenable it;
>llDisSomething = .F.
>JimB
jim,
i found this old reply of yours and it is relevant to a problem i am having. using the menu designer. have a bar (bad with terminology, is it a submenu from the main menu bar. when you click on it, it performs some code), that has a skip for variable. when the skip for variable first = .t., the menu bar is still black. click on it and then it turns grey (does not execute the code). when the skip for variable then = .f. the menu bar item does not turn black again (it does not execute the code), it never turns black. i thought this was suppose to be easy. any thoughts what i might be doing wrong?
if it matters i am using a top level form, not the _screen.
thanks - brenda
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement