Dealy after Menu Item selection

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi
I am developing a custom menu, where I need to put a 250 m.s. delay whenever user checks/unchecks a checked type of menu item. The reason is, we need to show the user, the changed option before dismissing the menu. Is there any option to do this in .NET
Thank
Prashanth
 
You might try this to see if it gives you what you need.

System.Threading.Thread.Sleep(250);
====================
Clay Burch, .NET MVP

Visit www.syncfusion.com for the coolest tools

Prashanth said:
Hi,
I am developing a custom menu, where I need to put a 250 m.s. delay
whenever user checks/unchecks a checked type of menu item. The reason is, we
need to show the user, the changed option before dismissing the menu. Is
there any option to do this in .NET ?
 
Hi
Thanks for the response..
But the question is where to put this delay. Because, by the time OnClick() handler gets executed, the menu would have disappeared. Do you have any idea where we can put this sleep
Thank
Prashanth
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top