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

access 2003 adding items to a listbox without focus

P: n/a
hpi
Hi,

I have 2 listboxes (and some other stuff) on a form
The first listbox has an onclick event which, when fired, adds an item to
the second list box and sets the selected item to the last item which makes
sure the lists scrolls when full.

When I click an entry in the first list, the item is added and selected
which is ok.
After this, each click on any control on the form, causes the click event
from the first list to be fired.

I found out that first setting focus to the second list box solves the
problem but I don't understand why this is necessary.
Is this normal behaviour?

tx

HPI
Nov 12 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.