Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ActiveBar not handling Edit functions
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00175277
Message ID:
00175586
Views:
40
>Hi John,
>
>>Yes I can, but unless the VFP system menu, (or another menu with VFP edit bar) is active, the edit functions do not work from the ActiveBar.
>
>Have you tried
>
> HIDE MENU _MSYSMENU
>
>This make the menu invisible, but still lets the user access all of it function via the hotkey...
>
>Christof

I'm having some trouble when executing the HIDE MENU command. Here's what I've done so far.

1. subclassed ActiveBar object
2. created a simple form to instantiate ABar object and a simple text box for testing edit functions and load my menu
3. I load the menu in the init of the form like this: DO editmenu.mpr then I try hiding it with HIDE MENU but keep getting the error "menu has not been defined with DEFINE MENU"
Do I need to to put code to build this menu in a custom method or prg? I've always relied on the menu builder and calling the menu as stated above. How can I get the HIDE MENU command to work?

Thanks...I'm getting closer :-)

John
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform