Information générale
Catégorie:
Gestionnaire de menu & Menus
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement