Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Must click OK twice to close form
Message
From
14/08/2007 12:50:30
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01247525
Message ID:
01248085
Views:
26
Got it. Thanks for all the ideas.

>>I have a small message form that has an [ok] button on it.
>>
>>callingform.showwindow = (as top level)
>>missing_data_folder.showwindow = (in top level)
>>
>>I call it from callingform with
>>do form missing_data_folder with "iePoint>2006"
>>
>>Everything works fine except the I have to hit the [ok] button twice to return the callingform.
>>
>>I have tried thisform.hide and thisform.release in the click method of the [ok] button. Neither works without two clicks.
>
>Sounds like your new form with the OK on it is not getting the focus or something from your original form is stealing the focus back to itself. You might want to look for a SETFOCUS or maybe just make your OK form modal.
Previous
Reply
Map
View

Click here to load this message in the networking platform