Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Forms cannot be released normally. Why?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00133827
Message ID:
00133881
Views:
15
>>Jim, I think there's one more item to consider. Kin Keung mentioned that one of the forms was MODAL. That being the case, wouldn't it be better to use the _screen.activeform.release() instead of _screen.forms(1).release? This would automatically pick the active modal form to be the first form released.
>>
>>Or am I missing something obvious?
>>
>>Thanks,
>Barbara,
>
>That or;
>
>
>lnForms = _SCREEN.FormCount
>FOR lnCnt = lnForms TO 1 STEP -1
>   _screen.Forms(lnCnt).Release
>ENDFOR
>
Good idea - I was going to suggest that earlier in the thread and then wasn't sure that the highest value of lnCnt in your code above would be the modal form. It seemed LOGICAL, since the modal form should be the last form instanciated....

Barbara
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform