Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shortcutmenu
Message
De
15/05/2016 01:41:10
 
 
À
13/05/2016 02:10:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Application:
Desktop
Divers
Thread ID:
01636289
Message ID:
01636383
Vues:
74
>>>>
>>>>Antonio,
>>>>
>>>>A shortcutmenu.mpr usualy does not have a setup code, do you want me to create a menu as Menu or do you want me to manually change my shortcutmenu.mpr with your code ?
>>>>
>>>>Regards,
>>>>
>>>>Koen
>>>
>>>Koen, while editing the menu, select View->General Options..., activate Setup code... and press Ok. Then you'll have access to the setup code that will included in the generated .mpr (no need to edit manually the .mpr file afterwards).
>>
>>Antonio,
>>Found it! Thanks a lot
>>Regards,
>>Koen
>
>Great! Let's hope it is what you need to simplify your code the way you're looking for.

Antonio,

it seems to be more dificult than I expected: It errors :

On Selection Bar1 of shortcutedit toForm.Picbtns1.cmdEditDoit
error 165
Menu has not been defined with DEFINE POPUP

However when I look at the shortcutedit.mpr I can see:
DEFINE POPUP shortcut SHORTCUT RELATIVE FROM MROW(),MCOL()
And checking the box via General Options I can still see in the editbox:
Parameters toForm as Form
with Menu Setup checkbox ticked.

Apparantly I am still missing something.

Do you have any advise for me?

regards,

Koen
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform