Is it possible to suppressing events temporarily?

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
 
C

chris-s

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

Chris
 

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

Top