General information
Category:
Coding, syntax & commands
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 :) )?
TIA
>It sounds like you have the scope of form C tied to a memvar that only has scope of the method in FormA that creates it, so it's destructing right after it's created.
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