Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Uh Ohh.. Have I found another error?
Message
 
 
À
05/09/2001 09:18:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00551426
Message ID:
00552460
Vues:
25
Hi!

I did not reproduced this. I just made answer using a pure logic. I do not think this is because OS. I think this is because differences in the VFP versions, in particular, differences in the enu generator.

>Hi Jim,
>
>This is getting a little complicated :(
>
>I was running this build on a win98 laptop (which I left at home this AM)
>I just tried to reproduce it on a Win NT 4 machine but cannot reproduce the error.
>
>My Setup (which had the problem) :
>Win 98 Osr2
>VFP7 (From the September MSDN update - No SP's installed)
>VFP6 custom menu called view (Not opened & converted to VFP7)
>VFP6 Uninstalled from the machine
>
>When I get home tonight I will have a look at the _Genmenu path and get back to you.
>
>Judging by Vlad's response I think he managed to repro. this problem so maybe it's an OS specific issue.
>
>Thanks
>
>Will
>
>>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
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform