Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SDI Form question
Message
From
26/07/1999 21:35:17
 
 
To
26/07/1999 06:42:42
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00245977
Message ID:
00246405
Views:
14
>>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 ?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform