Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Uh Ohh.. Have I found another error?
Message
De
04/09/2001 12:26:54
 
 
À
31/08/2001 10:45:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00551426
Message ID:
00552125
Vues:
24
I'm not seeing this. I made a quick menu in VFP7, and added a new bar to the View menu. I added your code below to the SKIP FOR, and "Blah" as the message. My MPR has this:

DEFINE BAR 2 OF _mview PROMPT "\< Reset Filter" ;
SKIP FOR IIF(EMPTY(ga_trns[1]), .F., gn_ModMode <> 2 OR TYPE("pl_stkdisp") = "U" OR NOT pl_stkdisp) ;
MESSAGE "blah"

I don't see the problem here on my end. Maybe it has something to do with the specifics of your menu. I also tried a custom menu with a bar called view, and it still works fine for me. Are you using the released version of VFP7, or a beta? Also make sure that _genmenu contains the path to the correct genmenu.prg, which should be located in the VFP7 home directory.

Note I also had to add an extra space before the Reset Filter to make the < not cause a problem...

Jim

>My .MPR ends up like this
>
DEFINE BAR 4 of View Prompt "\< Reset Filter" ;
>, gn_ModMode <> 2 OR TYPE("pl_stkdisp") = "U" OR NOT pl_stkdisp) ;
>Message "Blah"
>
>Which causes a compile error if I try and compile the project.
>
>
>Anyone encountered this or got any suggestions?
>
>TIA
Jim Saunders
Microsoft
This posting is provided “AS IS”, with no warranties, and confers no rights.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform