>Hello to all, I'm new to VFP6 programming but I have done quite a lot in Clipper. I can ususlly do OK with the code, but I have trouble using the OOP interfaces.
>My current problem is attaching a menu to a form. To do this, I read that the form must be a top level form and to make it so I must set the forms ShowWindow property to 2 for top level. But, I can't find the ShowWindow property in the list of properties that appear in the property window when I have the form selected. I tried to add a new property of the same name but I get a warning that that property name is already in use.
>
>Any help to this basic question would be appreciated.
It's alterable at design time, but read-only at runtime; changing the modal nature of a form instance requires you to pass the appropriate parameter to the Show() method of the Form - I believe oForm.Show(1) will make the Form modal (see the Show() method of Form for details.)