dubem1 Posted March 28, 2003 Posted March 28, 2003 Is there a way to avoid the itemCheck event to be raised? I check some items by programmtion at the opening of my form. I don't want to itemCheck event to be raised when I check items by programmation. I want this event to be raised only on a mouse click. How? I try beginUpdate and EndUpdate with no luck! Thanks Martin Quote
*Experts* Bucky Posted March 28, 2003 *Experts* Posted March 28, 2003 Create a boolean value and set it to True whenever you want to "skip" the event. Then, as the first line in the event, and check if the value is true. If it is, then set the value to false again and exit the sub (Exit Sub in VB, return in C#). Quote "Being grown up isn't half as fun as growing up These are the best days of our lives" -The Ataris, In This Diary
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.