General information
Category:
Forms & Form designer
>>Hi,
>>
>>I have a menu option that should close VFP in my run time application. But some times all the forms don't close down, is there any way the forms can close properly or is there a way i can tell which forms are open and close them my self? for example store the forms names in an array.
>>
>>
>>thanks
>>
>>daryl
>>kelworth
>
>In your shutdown routine you could iterate through the _SCREEN.Forms colection, closing any open forms that you find.
Hi Allan,
In addition to Mark's suggestion, we do put the forms that are visible into an array. This allows us, much like rolling through _SCREEN.Forms the ability to manipulate the forms (including releasing them) by refrencing them through the array. We use a top-level form and _SCREEN is not around for use.
Steve
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