General information
Category:
Coding, syntax & commands
>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
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