Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Menu Pad tied to a Form...
Message
 
 
To
13/10/1998 10:29:53
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00146003
Message ID:
00146248
Views:
32
An interesting approach that the VFE people used was to create a GENMENUX driver that creates the classes - I believe it writes the menu to a PRG.

>>Hi Bob,
>>
>>I am not a MM user but I am familiar with Codebook < g >.
>>
>>cBizObj has a cMenuPad property that during the Init() of the bizobj, something like the following code is executed:
>>
>>
>>IF !EMPTY(this.cMenuPad) AND TYPE("goApp.oMenu")="O" AND !ISNULL(goApp.oMenu)
>>   =EVAL("goApp.oMenu."+this.cMenuPad+".Show()")
>>ENDIF
>>
>
>Yes... I actually found this after I posted the question... it seems to do what I am looking for, although I have yet to try it since I HATE creating CodeBook menu classes... wish someone would create a builder that worked.
>
>BOb
Rick Hodder
MCP Visual Foxpro
C#, VB.NET Developer
Independent Consultant
www.RickHodder.com
MyBlog
Previous
Reply
Map
View

Click here to load this message in the networking platform