Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error while using a shortcut menu
Message
De
06/04/2004 15:16:51
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00892514
Message ID:
00892724
Vues:
18
>Hi friends
>i created a shortcut menu and i added following command in one of menu items
>
> _screen.activeform.menu4systray(3)
>
>i want to execute a method in activeform but i am getting
>following error
>property menu4systray is not found
>
>how do i achieve what i want.
>Thanks for ur ideas.
>cheers

As a debug -- change statement to

WAIT WINDOW _Screen.ActiveForm.Name + chr(13) + ;
"Vartype( _screen.ActiveForm.Menu4SysTray ) = " + ;
Vartype( _Screen.ActiveForm.Menu4Systray )

This will tell you two criical pieces of information, first the name of the form that Foxpro thinks is the activeform, and second, the variable type of Menu4SysTray.

From this information, you should be able to determine what Foxpro is "seeing" at the time that you select the bar from the menu.

Hope this helps.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform