Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Forms cannot be released normally. Why?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00133827
Message ID:
00133881
Vues:
14
>>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform