Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Understanding how popup name is created
Message
De
27/10/2003 16:16:19
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00843255
Message ID:
00843261
Vues:
24
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)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform