Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why 2 clicks to release this one specific form.
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00016984
Message ID:
00017050
Views:
73
>>>Regardless of what button I click, whether it is the one which
>>>the .SetFocus() was applied or another one, that button only
>>>receives the focus. I does visually click and the code even
>>>executes as I've debugged it, put wait windows in and know that
>>>it executes, it just doesn't release until I click again. Also,
>>>it doesn't matter what button is clicked the 2nd time. Thanks
>>>for your reply. I haven't figured this one out yet.
>>
>>try maybe to chenge the
>>thisform.release()
>>to
>>release thisform
>>in the click events
>>
>>Arnon
>
>Thanks again. I've tried it and it didn't work. For some reason though
>I've issued THISFORM.Release() twice and it now seems to be working. But
>though that may temporarily solve it, it doesn't explain why it needs to
>be that way. And besides, I've had thisform.release in two times before
>where it didn't work so I still at a loss.
>
>Steve

Hmmmm.. Seems to have something in common with my buttons. Sometimes, when my VFP in a bad mood, the same thing happens, I see in the debugger, that the code THISFORMSET.Release()was executed, but did nothing. But in my case it does not work at all, until I restart app, or VFP, or Windows (it depends). I also tried different forms of RELEASE with no difference. But in my case it all happens just sometimes, maybe 5% of all app launches.

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform