Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Menu Pad tied to a Form...
Message
 
 
À
13/10/1998 10:29:53
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00146003
Message ID:
00146248
Vues:
33
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform