troubleshooting Question

500pts: Help need to display a modal form and continue code execution

Avatar of ianinspain
ianinspain asked on
4 Comments2 Solutions438 ViewsLast Modified:
Hi there,

I am having a little issue and wonder if anyone can help with a workaround etc..

basically i have some code that tries and sends an email so i display a small form over the top (no title bar, min, max buttons etc) and it says "Trying to send, please wait..." ...

If i showDialog then all my code execution stops....,  i wondering if there was an event that is fired once on the Dialog form to say its SHOWN and then i could do my email code here and then close the form but there isn't ... Event load isn't good enough because it fires before the form is shown

Event activated seems to fire all the time when it looses focus so this is no good either...

If i use a non-modal show then all my other forms are still accepting input, of course i can say Stay On Top.... but it just doesn't behave like a modal form.

Does anyone know of a good trick or work around to acheive what i am trying to do.

I am a little stuck

Thanks in advance


Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 2 Answers and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros