Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error while using a shortcut menu
Message
From
06/04/2004 15:16:51
 
 
To
06/04/2004 01:11:07
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00892514
Message ID:
00892724
Views:
19
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform