UserControl in a DataGrid

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mihaly

    UserControl in a DataGrid

    I have an UserControl which contains 2 controls: 1 CheckBox and 1
    DateTimePicker. I created a new DataGrigColumnS tile whit thes UserControl and
    I put them into a DataGrid.
    If I use my UserControl in a Form I can move the focus of each controls
    with Tab key in a good order.
    If I use may UserControl in a DataGrid the Tab key s not working. My
    UserControl not got the focus, or if I use the UserControl.Sel ect() function
    then the control not lost the focus with Tab key. The focus of the control is
    handled corectly only with mouse click.

    Please help me to control the Key events in UserControl class.

    Thank you!


Working...