471,317 Members | 1,789 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,317 software developers and data experts.

UserControl in a DataGrid

I have an UserControl which contains 2 controls: 1 CheckBox and 1
DateTimePicker. I created a new DataGrigColumnStile 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.Select() 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!

Jan 18 '06 #1
0 976

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by dlgproc | last post: by
3 posts views Thread by Alessandro Rossi | last post: by
reply views Thread by Colin Ramsay | last post: by
6 posts views Thread by Anonymous | last post: by
13 posts views Thread by Michael Maes | last post: by
reply views Thread by Mihaly | last post: by
6 posts views Thread by p.mc | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.