Hi!
Did you tried to put CLEAR EVENTS just at the point where you do THISFORMSET.RELEASE?
>Ok, I'm officially losing it. :-)
>
>On the development machine I have WindowsME with VFP6(SP5).
>
>I've got a prg that calls a top level form (actually a formset) and then issues a read events as in:
>
DO FORM SOMEFORM
>READ EVENTS>
>In the formset (on one of the forms) there is a command button that has this code in it's click method:
>
THISFORMSET.RELEASE>
>In the DESTROY of the formset, I have:
>
CLEAR EVENTS>
>
>The problem:
>After compiling and creating the exe file, it all seems to work just fine. However, there is still a reference to the program in the task manager.
>
>I don't recall ever running into this before. (I've used SDI forms alot).
>
>Is there something special I need to do with the formset? (It's a modeless form, as it should be, since it's set as a top level form)
>
>I've inserted some wait windows and indeed the code is firing as expected (the clear events is being issued)
>
>Any help is appreciated... This is splitting my head in two.... lol
>
>
>Thanks,
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.