Group box control Tab Focus problem
Hi,
I am having 3 buttons and Group box control having only one child Grid control...3 buttons n groupbox are child controls of VIEW
I am having tab index like Groupbox(0),Grid (child contorl) as(0),
then for 3 buttons like 1,2,3....
But I have written like
private void DataGrid_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Tab)
{
groupbox.SelectNextControl(DataGrid, true, true, false, false);
e.Handled = true;
}
}
But this is not working.....
Please help me out of this problem...
Thanx in advance for your replies....
Suji
|