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

Can't change focus for listbox VB.NET 2005

P: n/a
Hi,

I have a form with a databound listbox and combobox. The listbox items
are filtered based on the selection for the combobox.

If I click on the listbox to select an item, I can no longer select the
combobox or even exit the form. It's as if something won't let me take
focus away from the listbox -- all I'm able to do is navigate within
the listbox.. There is no error or exception thrown -- I just can't
access anything outside of the listbox! This is a very simple
application, just two databound controls (the combobox and a listbox)
on a form.

Really starting to hate VB.NET 2005,

Any ideas?

Thanks,

Crazy

Jan 31 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
I found the problem -- I had to turn the Data Source Update Mode from
"OnValidation" to "Never".

Crazy Cat wrote:
Hi,

I have a form with a databound listbox and combobox. The listbox items
are filtered based on the selection for the combobox.

If I click on the listbox to select an item, I can no longer select the
combobox or even exit the form. It's as if something won't let me take
focus away from the listbox -- all I'm able to do is navigate within
the listbox.. There is no error or exception thrown -- I just can't
access anything outside of the listbox! This is a very simple
application, just two databound controls (the combobox and a listbox)
on a form.

Really starting to hate VB.NET 2005,

Any ideas?

Thanks,

Crazy


Jan 31 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.