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:
00146268
Vues:
28
Another thing you can do (if you dont want to use a menu object) is to put the code to define (and show) the menu pad in the activate of the form and the code to release the menu pad in the deactivate of the form. You could build a menu from the menu designer, generate it, and cut out the part that defines the pad and it elements -thereby taking advantage of the tools.


>>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