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:
00175644
Views:
35
>Hi John,
>
>>then I try hiding it with HIDE MENU but keep getting the error "menu has not been defined with DEFINE MENU"
>
>This sounds like you do something like HIDE MENU Edit, or so. The Edit menu must be defined as a menu bar (not a shortcut menu) and the HIDE MENU command should take _MSYSMENU as the parameter. That's the menu bar at the top of the window. Maybe you could post your code?
>
>Christof

Hi Christof,

I've tried two ways to accomplish this

**forms load event
DO editmenu.mpr &&my custom menu with one menu pad and several items for
copy,cut,paste etc.

**forms init event
1. HIDE MENU _msysmenu &&This doesn't give me an error. The screen burps,
but the editmenu is still visible.
2. HIDE MENU editmenu &&This one gives me that define menu error


The menu I created (editmenu) is just a basic menu made from the designer with one pad and 6 items for VFP edit functions.


As you can tell, I don't have a lot of experience with manipulating menus etc.


John.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform