Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Popup menu stops everything - way around it?

Status
Not open for further replies.

AndyGroom

Programmer
May 23, 2001
972
GB
Is there a way to allow Timers to continue firing, or the normal execution of code to continue, even if a PopupMenu is displayed?

- Andy
___________________________________________________________________
If a man speaks in a forest and there are no women around to hear him - will he still be wrong?
 
Is this something you coded, or a system popup? If you coded a popup form set it's modal property to false, or try adding a DoEvents in your code.

Beir bua agus beannacht!
 
As it says in the manual:

When you display a pop-up menu, the code following the call to the PopupMenu method isn't executed until the user either chooses a command from the menu (in which case the code for that command's Click event is executed before the code following the PopupMenu statement) or cancels the menu.

I assume these are implemented as modal windows. There is nothing you can do about it except try to get clever using something else that "looks like" a menu.
 
> allow Timers to continue firing

Timers should keep firing.
 
Thanks. Stupidly I was opening the PopupMenu from within the Timer event which is why I thought the timer had stopped firing.

- Andy
___________________________________________________________________
If a man speaks in a forest and there are no women around to hear him - will he still be wrong?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top