Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modeless Forms
Message
From
23/04/2002 00:19:59
 
 
To
22/04/2002 23:59:37
Mike Smith
Doncaster Office Services
Oakville, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00647971
Message ID:
00647974
Views:
25
You should have one READ EVENTS in your MAIN.PRG and then a CLEAR EVENTS in your application shutdown code.

>I have always avoided Modeless Forms because I have found them unstable.
>
>I am now in a situation where I must use a Modeless Form and here I am again.
>
>I have a READ EVENTS as the last line of the Init which works fine.
>
>Now I have a FINISH Button and at the end the of the Click Event of the FINISH button I say CLEAR EVENTS just before THISFORM.RELEASE()
>
>For some reason, I have to click FINISH twice in order to get the form to release.
>
>Am I allowed to have a CLEAR EVENTS inside a Click Event? Is there somewhere else that I should be writing the CLEAR EVENTS command? Any help would be most appreciated.
>
>Mike Smith
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform