Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disappearing Close button?
Message
From
19/08/1998 08:40:12
 
 
To
18/08/1998 19:11:41
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00127692
Message ID:
00128069
Views:
49
>>>Let say, some custom form property holds object reference, e.g. form contains pageframe and each page activate event fires:
>>>Thisform.ActivePageObject=This && surely, it's just an example, it can be buttons, textboxes etc , even exteranl objects
>>>Now, if you will not issue This.ActivePageObject=.NULL. in Form.Destroy event, you cannot release the form and close button is grayed out.
>>
>>Thanks, Ed. That's what I thought you were saying. I just haven't run into this one and wanted to be sure.
>
>This behavior only surfaces when the user clicks on the close button and a reference is outstanding. The button will not gray itself.

It will also gray out if some code fires
RELEASE WINDOW "formname"
unsuccessfully trying to close the form
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform