Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with form modal
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00415699
Message ID:
00415709
Views:
12
>It seems not to work, The windowtype is set to 1 at design time. I put a breakpoint in the Init method, and in debugger, I can see that in the form's windowtype property, the value is 0. I don't understand why the value changed from 1 (at design time) to 0 (at runtime)

1.Is last window as child window ? (call from other window)
2. Or help vfp

For a form, the settings for the WindowType property are as follows:

Setting Description
0 Modeless.
1 Modal. No other forms can become active and the menu is inactive. All forms in the form set are active.

Remarks
You cannot change the WindowType setting once the window has been displayed.
The Show method takes a parameter that can override the WindowType setting.

Note The WindowType setting of a form set overrides the individual WindowType settings of the forms it contains. For example, if the WindowType property for a form set is set to 0, all the forms contained in it are modeless, regardless of their individual WindowType property settings.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform