By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,685 Members | 1,326 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,685 IT Pros & Developers. It's quick & easy.

Cancel listbox click

P: n/a
JP
Is there anyway to cancel a click (keep listbox from changing) from code.

If the current data is not saved, I want an opportunity to save the current
data before switching.

I tried putting code in the listBox1_SelectedIndexChanged but the index has
already changed.

thanks
Nov 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Cor
Hi JP,
I think that I don't understand it well, but:
Is there anyway to cancel a click (keep listbox from changing) from code.

If the current data is not saved, I want an opportunity to save the current data before switching.


Maybye you are looking for the "mousedown" event.

Cor
Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.