Is it possible to suppressing events temporarily?

  • Thread starter Thread starter Hari
  • Start date Start date
H

Hari

Hi,

How can i suppress events for a short time on a form. My prob is
that i've a listivew on a form, say A. The item_Activate event on the
listview creates a new form, say B and shows it. But as on PPC it
takes few seconds to display a new form. The mean while if i tap on
another listview item on A, it creates another child form. Now what i
need is, i should disable any events( or the same item_Activate event)
on A from firing, until the item_Activate event handler is executed.
This is just one case in the app. There are many such cases
where i need this kind of a check.

How do i do this?? Plz help!


Thanks,

Hari
 
Not very elegant, but you could disable the control in the click event
and then re-enable it when you return.

Chris
 
Back
Top