Listbox captures focus

  • Thread starter Thread starter Guest
  • Start date Start date
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?
 
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.
 
Back
Top