Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A proper return
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00739870
Message ID:
00740001
Views:
15
Terry,

Sorry, if this is irrelevant, but is it kind of InputBox with a timeout? There is InputBox in Download section here by Rick Borup (could be enhanced to use a timer) and by Mike Helland (didn't try this one).

What VFP version you're using? VFP7 has InputBox function.

================
Ouch, disregard. Just read the whole thread...
If these suggestions would not work, you can probably use SendKeys approach...

>Given that I have an object A and have called a method of it that creates an instance of an object B and calls a method of it, how can I return from an inadvertent dialog that pops up forever with no human intervention?
>
>I have tried creating an object C (a timer) contained by B and in the timer event trying to RETURN TO A.method, ERROR 12, etc, but nothing seems to interrupt the dialog.
>Even QUIT won't. KEYBOARD '{ENTER}' works but is probably too specific a solution as I do many object B services with this A service manager program.
>
>Is there a way to work asynchronously, or interrupt B from C to get back to A is my question.
>
>As usual thanks,
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform