Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SDI Form question
Message
De
26/07/1999 21:35:17
 
 
À
26/07/1999 06:42:42
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00245977
Message ID:
00246405
Vues:
21
>>Hello all,
>>My applicacation use class menu get from the thread.
>>In Init event of main application class (base on custom), i create object oMenu from the class menu. The menu items appear in main Visual Foxpro window.
>>Now i want create a SDI form to make main application form, how can put menu items in my main form and how to hide main Visual Foxpro window ?
>>Thank in advance.
>
>Hi,
>
>I think you are referring to my MenuLib class library in the Files section.
>
>All you need to do is to add a menu to your SQI Form, e.g.
>
>loForm = CREATEOBJECT("YourSDIForm")
>loForm.AddObject("Menu", "Menu")
>
>Then just build your menu as normal
>
>loForm.Menu.AddObject("File", "MenuPad")
>loForm.Menu.File.Addobject("Save", "Menupad")
>loForm.Menu.File.Addobject("Exit", "Menupad")
>
>All of the above examples can also be done from the forms INIT method, for example:
>
>THIS.AddObject("Menu", "Menu")
>THIS.Menu.AddObject("File", "MenuPad")
>THIS.Menu.File.Addobject("Save", "Menupad")
>THIS.Menu.File.Addobject("Exit", "Menupad")

Mark Hall,
Thank for your help.
Can your MenuLib class make popup menu ?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform