Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Releasing my forms
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00600717
Message ID:
00600745
Views:
15
First, get rid of the WAIT WINDOW commands. Second, open the debugger and select Event Tracking from the Tools menu. Remove all items from the Events to Track list. Add the Destroy and Unload back to the Events to Track list. Turn on Event Tracking. Now run your form to see what actually fires.

>No, I don't have any code in the destry event but I wrote WAIT WINDOW "DESTROY" to see if it passed through (I saw the message). I put WAIT WINDOW "UNLOAD" at the first line of my UNLOAD EVENT, and nothing, no message didn't appear. I have public variables containing my 2 toolbar those were released in UNLOAD event.
>
>PROCEDURE UNLOAD()
> IF !THISFORM.lTOOL_STD .AND. TYPE("oBARREFORM.NAME")="C"
> RELEASE oBARREFORM
> ENDIF
>
> IF !THISFORM.lTOOL_COMMUN .AND. TYPE("oBARRECOMMUN.NAME")="C"
> RELEASE oBARRECOMMUN
> ENDIF
> RETURN THISFORM.VALRETURN
>
>Note: All my form are modal
>
>???????
Mark McCasland
Midlothian, TX USA
Previous
Reply
Map
View

Click here to load this message in the networking platform