Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form won't appear
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00093814
Message ID:
00094185
Views:
24
>Sylvain,
>
>Are these forms part of a formset? You can't mix modal and modeless forms inside a formset, even though it would seem to be a natural use of them to have a modeless parent launch modal child forms but you can't do that.
>
>Are you sure there's no LockScreen issues that are preventing you from seeing the form? I'm curious if you try it with three other forms with no other code anywhere besides the launching code.
>
>>The form C is linked to a property in form A and is not going out of scope since form A is still active.
>>
>>The problem is coming from form B WindowType property: if it's marked as Modal, form C won't appear after form B is closed. If it's marked as Modeless, form C will appear.
>>
>>Even stranger, if I trace the program with the debugger, everything work fine (even with form B WindowType = Modal). But outside of the debugger, it won't work.
>>
>>Is this a VFP bug (or feature :) )?

If it is a formset, the mode of the formset overides the forms contained within. Your not alone, this gave me several bad headaches before I read the fine print on the WindowType help page.

Eric K.
Previous
Reply
Map
View

Click here to load this message in the networking platform