Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disappearing menu items
Message
From
09/05/2010 13:47:07
 
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01463553
Message ID:
01463891
Views:
44
>I was thinking that to solve this problem I need to find a way to create a bug or some code case where all menu items after a certain item get disappeared (without deliberately removing each item in code). If you can think of how to create this case, please let me know.
>
>
>>Hi,
>>
>>I have a weird situation where a customer tells me that when they bring up my VFP application the list of menu items on the File pad only shows first 10 items (should be about 15). Not even the last item (Exit) is shown. I do have in my start up code that based on some preferences one or two of the menu items (on File) list are removed. But nobody else using this application has reported losing items. And this code has been working for a long time without a problem. And obviously I can't duplicate this "loss" of menu items on my PC.
>>
>>Any suggestion to what could be causing this problem? TIA.

To me it sounds like a loop (for/next or while) that is a bit too eager

I would look at those in the areas where the popups are manipulated

Something to bear in mind. If you forget to declare a variable local and you do the same in a called function, you may end up with surprises (I once had one of those)
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform