General information
Category:
ActiveX controls in VFP
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only