General information
Category:
Menus & Menu designer
>>>My application has a top level form with a SDI menu.
>>>How do I attach a new menu to a child form when the form runs?
>>>When I try do menu.mpr in the child forms init procedure the menu appears in the Foxpro screen window
>>>
>>>Many thanks for any help
>>>
>>>Paul Oxley
>>
>>Paul,
>>
>>You need to make sure that the menu you created is marked as running in a top-level form in the menu designer and then you need to pass a reference of the top-level form to the menu program. DO MyMenu WITH oTopLevelForm.
>>
>>Steve
>
>
>Many thanks for your quick reply.
>
>I have no problems with the SDI menu in the top level form. It is when I try to run a menu in a child of the top level form ie (1 - in top level form)
>
>I put a do menu.mpr command in the child forms init method, but it displays the menu in the foxpro main window. My SDI menu is unaffected.
>
>Many thanks for any help
>
>Paul Oxley
You might see if passing a reference to the form that you are trying to display this in would make it work. DO menu.mpr WITH THISFORM.
Steve
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only