General information
Category:
Forms & Form designer
>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
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