Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
THISFORM.Release doesn't release the form!?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
THISFORM.Release doesn't release the form!?
Miscellaneous
Thread ID:
00154872
Message ID:
00154872
Views:
95
Hello,

We are using VisualFoxPro 6.0. We defined a form in our class library. We create this form like this:

fSearch = CREATEOBJECT("listform")

Works like a charm. After that we put in the Init() of that form the following:

THISFORM.SHOW()

We have defined a button on this form with the Cancel property set to TRUE. When we press this button the following is done (in the Click() event):

THISFORM.RELEASE()

And nothing happens. The form ISN'T closed. But when we press the X (closebutton) on the righttop side of the form it DOES close.

Are we missing something simple or??

Thanks in advance!
---
Greetings,

Michiel Willems
Willems Advies & Automatisering

E-Mail: willems@automatisering.nu
Website: www.automatisering.nu
ICQ: 10430590
Next
Reply
Map
View

Click here to load this message in the networking platform