Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Understanding how popup name is created
Message
From
27/10/2003 16:16:19
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00843255
Message ID:
00843261
Views:
23
Instead of relying on the auto-generated names, it is safer to give your menu pads a name explicitly. That way, it is easier to control with a program.

>When I look at the MYMENU.MPR file I see lines:
>
>
>on pad _my_menu of _msysmenu activate popup report
>
>
>The last word (in the example above "report") matching the menu pad name. But I noticed that if the pad name is longer than 10, it gets truncated to 10 characters. For example, if I have a pad name "MyProgramReports" the name will be truncated to "myprogramr." I use these popup names to add or remove items from the menu dynamically at run time.
>
>Is there a trick to overcome this limitation of 10 characters?
>
>TIA.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform