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