Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form not releasing properly
Message
From
02/05/2006 17:33:59
 
 
To
02/05/2006 09:23:25
Alan Harris-Reid
Baseline Data Services
Devon, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01118130
Message ID:
01118587
Views:
17
>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 !
Previous
Reply
Map
View

Click here to load this message in the networking platform