General information
Category:
Forms & Form designer
Jose'
You're right, this is an ugly one...it apparently doesn't like the combo drop-down being active. I had some luck with this, though...issue a KEYBOARD 27 (Escape) or maybe even some other key prior to the THISFORM.Release(). This will deactivate the dropdown prior to release.
Just a workaround, not a solution...
-Irv.
Hello everyone,
>
>We are having a problem in one of our projects being developed using VFP 6 SP3. The form(s) in question have among other controls a timer and a dropdown combo box on it. What we want to happen is when a time period expires, the timer control issues a THISFORM.RELEASE to close the form. However, we have found that when
>
>1) the combobox has the focus , and
>2) the list associated with the combo is dropped down, and
>3) the mouse has been moved so that an item other than the first
> is now highlighted in the list
>
>we don't get the results we expect. When any other type of control has the focus or when the combo has the focus but is not dropped down, the form closes as expected. Under the above three conditions, a couple of things are happening. Most of the time, focus simply returns to the form rather than it closing. Other times we get the dreaded C0000005 error.
>
>This occurs in any form that has a combo and a timer and meets the above three conditions.
>
>Has anyone else ever run into this problem? And if so, how did you work around or fix it?
>
>Thanks in advance for any help.
>
>Regards,
>
>Jose'
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only