Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deny leaving a Page
Message
De
21/07/2000 09:36:47
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00393557
Message ID:
00395377
Vues:
11
Barbara,

Thanks for the reply, that makes sense now... we are in trouble now!


>John,
>
>Yes and No < grin > In the Form.QueryUnload code put
>if <  Required conditions are met >
>   DoDefault()
>   return .T.
>else
>   return .f.
>endif
>
>In your form release code put
>
>if Thisform.QueryUnload()
>   Thisform.release()
>else
>   <  message about why the user can't exit  >
>endif
Thanks to Bruce for reminding me about the DoDefault().
>
>
>QueryUnload() is code that is specifically designed to determine if the the form SHOULD be released. It's called first, before any control is deactivated, released, etc.
>
>HTH
>Barbara
>
>
>
>>Barbara,
>>
>>Would the call to QueryUnload come before the ThisForm.Release()?
>>
>>How does QueryUnload differ from the Release method of a form?
>>
>>Thanks
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform