>>>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 ?
Yes, it can do popups. There is an example in the demo, and it is covered in the documentation.