>>>>>Hi,
>>>>>
>>>>> To all developer Can I create an MDI form in Visual Foxpro?
>>>>>
>>>>> Just like creating in Visual Basic 5
>>>>>
>>>>>thanks and advance
>>>>>Lars
>>>>
>>>>Hi,
>>>>The SHOWWINDOW property is useful here.
>>>>
>>>>You set the ShowWindow to make a form a Top-Level (MDI parent) form, then any sobsequent forms that you create can have their ShowWindow property set to make them children of the currently active Top-Level form.
>>>
>>>
>>>Mark,
>>>
>>> Can i create a main form than using _screen as the main?
>>>
>>>thanks
>>
>>In short, yes.
>
>
>George and Mark,
>
>
> Can u give me an idea how to make them as my main window?
>
>thanks
>Lars
You set its properties, icon for example, as you would any other form. When you call a menu it replaces the main FoxPro menu (in development you might want to do a PUSH MENU _MSYSMENU before you execute your's, so then when you exit POP MENU _MSYSMENU will restore it.) Forms that you call will be children of theis window, unless they're specified otherwise.
hth,
George
Ubi caritas et amor, deus ibi est