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
 
Back
Top