Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form not releasing properly
Message
De
02/05/2006 17:33:59
 
 
À
02/05/2006 09:23:25
Alan Harris-Reid
Baseline Data Services
Devon, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01118130
Message ID:
01118587
Vues:
18
>Hi Fabio,
>
>>try
>>
>>IF VARTYPE(loForm)='O'
>>   WITH loForm
>>      * Set some properties here
>>
>>   ENDWITH
>>
>>   loForm.Show
>>ENDIF
>>
>
>You've cracked it! thisform.release works fine now. Looks like WITH..ENDWITH is ok for setting property values, but the show command should be prefixed with the object reference.
>
>Many thanks,
>Alan

The with/endwith block creates an object reference that Release() can't release !
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform