Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Closing My From
Message
From
03/11/1999 19:13:16
 
 
To
03/11/1999 19:04:34
John Vlahos
V I Software Solutions Design
Mississauga, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00286586
Message ID:
00286590
Views:
19
>Hi,
>
>I have a simple Form which contains a customer's general information. It works great, but if I remove the text control which is used to input the customer's country, and replace it with a combox drop down box which contains a list of all alowable entries for the country field (all valis countries are stored in a table country.dbf), my form will not close after selecting a country.
>
>I am coding in VFP 6.0.
>
>To close my form I have a command button. Once clicked it executes it followin code:
>
>ThisForm.Unload()
>ThisForm.Release()
>
>In the Unload event of the form, the following code gets executed:
>RELEASE ALL
>CLOSE TABLES ALL
>CLEAR EVENTS
>
>Does anyone see anything wrong with this?
>
>Thanks in advance!

This behavior is usually caused by an outstanding object reference. Do you have property or any other variable that holds a reference to the form of any object on the form?
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform