Chad,
Thank you so much for your help. I am sure all your suggestions will work. The only thing I can't do is "ShowWindow = 2 - As Top Level Form." For some reason, and I am sure if I had time I would get to why it is so, but when I set the form to ShowWindow = 2, none of lookup forms used by the controls on the form are showing up. That is, when I click on a lookup button, the lookup form (with grid and such) does not show up. That's why I had to use the VFP main window.
>Dmitry,
>
>To turn off the menu:
>
SET SYSMENU OFF
>To turn it back on:
>
SET SYSMENU TO DEFAULT
>To resize the main window:
>
_Screen.Move(<values>)
>OR
>WITH _Screen
> .Top = value
> .Left = value
> .Height = value
> .Width = value
>ENDWITH
>
>But your form will only show in the client area of the main window unless you set it to ShowWindow = 2 - As Top Level Form. A more appropriate option is to set the form's ShowWindow to 2 and in your config.fpw file put:
>
SCREEN=OFF
>So the main VFP window won't show at all. Then, you won't have to worry about the menu either.
>
>HTH,
>Chad
>
>>I have a small application that consists of one form. I open it in VFP main window but I would like to remove the default VFP menu at all. I don't want any menus in this app.
>>
>>Also, how can I make the VFP main window to be sized equal to my form so that it looks like there is only one window?
>>
>>Thank you in advance for any suggestions.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham