cbv Posted July 30, 2004 Report Share Posted July 30, 2004 Hello. This is how my program works: I have a dialog named "Save All Attachments" that lets me tag files. I pick OK. Another dialog named "Save All Attachments" shows, asking for the target folder. In ME, I put a Wait Window Lose Focus which apparently doesn't work, since ME keeps waiting. I presume the Wait is still waiting. How can I fix this? Thanks, Chris Quote Link to comment Share on other sites More sharing options...
Linda Posted August 2, 2004 Report Share Posted August 2, 2004 Have you tried waiting for the second window to gain focus instead? Just a thought. Quote Link to comment Share on other sites More sharing options...
cbv Posted August 2, 2004 Author Report Share Posted August 2, 2004 Tried it. No joy... Quote Link to comment Share on other sites More sharing options...
cbv Posted August 2, 2004 Author Report Share Posted August 2, 2004 Can Wait for Control be used instead? How? Quote Link to comment Share on other sites More sharing options...
Linda Posted August 2, 2004 Report Share Posted August 2, 2004 Until someone with more knowlege than I comes on with a more elegant solution, perhaps you could just have it wait 250 miliseconds or something? I once used that as a work-around to a similer problem. (Obviousy, this only works if you are comfortable relying on the window closing that quickly.) Quote Link to comment Share on other sites More sharing options...
cbv Posted August 2, 2004 Author Report Share Posted August 2, 2004 I appreciate your help, Linda. Thank You. Quote Link to comment Share on other sites More sharing options...
cbv Posted August 2, 2004 Author Report Share Posted August 2, 2004 Finally got it working with: - Get Control C1 Listbox Exact Match - Set Focus to C1 - Wait for Control C1 to lose focus, wait indefinitely. Thanks again... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.