Listbox captures focus

G

Guest

This is very strange...

I have a simple UserControl based on a System.Windows.Form.

I have a databound listbox on the form, along with two radio buttons which
aren't bound to anything.

If I launch the form, everything is clickable.

If I launch the form and navigate to any record in the listbox, I can no
longer click any other control, except to close the form with the control
box. None of the radio buttons are accessible. The visual feedback shows a
click is occuring, but the click event doesn't fire, and despite autoCheck
being enabled, the state doesn't toggle.

This seems to be related to the databinding... but I can't imagine how.

Anyone?
 
G

Guest

This happens so often... I write a post... I figure it out. I don't figure
it out until I tell the world about it.

Arghghg...

Turns out that having Validation=True, for whatever reason, messes with it.

Now - if anyone can tell me WHY, that would be just dandy.

Cheers,
M.
 

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