Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using Code Within Closable Button
Message
De
14/10/1999 13:52:00
 
 
À
14/10/1999 13:40:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00275309
Message ID:
00276473
Vues:
26
>Actually what I am trying to do is when the user clicks on the X to close the
>screen to actually minimize it. I have a form that is an object.
>
>oForm = createobject("myform")
>oForm.show
>
>The form displays. What I want to do is allow the user to click the X but not close the form. I put the Return .F. in the query Unload method but it still closes the form and sets oForm to Null.
>
>Any Sugestions?
>

You need a NODEFAULT in your QueryUnload. The return of .F. is so whoever called the method directly can see if it didn't close, but has no real effect.

>Thanks
>
>Jeff
>
>
>>Jeff,
>>
>>Sorry about this. Could explain what do you meant by " opject reference is still set to null."? Does it meant you failed to refer to this object, or ...? What are you trying to do with this?
>>
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform