Im not sure how to explain this so im gonna describe what ive done and the tab problem that is occouring.
First I created a custom control(control1) that has a textbox on it and a label under the textbox. The label is not a tabstop the textbox is. Now if i use this control(control1) on a form it works just fine there is no problem. The problem occours when I create another control(control2) that has 3 control 1's on it and 6 textboxes on it (arranged similar to a datagrid one control1 followed by two textboxes, then down below that row would be the same arrangement) so that the tab order is 1.) control1-1 2.)textbox1-1 3.)textbox2-1 4.)control1-2 5.)textbox1-2 6.)textbox 2-2 7.)control1-3 8.)textbox1-3 9.)textbox2-3. Now if i put this new control(control2) on a form and if i click into any of the control1's and press tab it will go to the next tabstop as if i hadnt clicked the control1 at all. Here is an example to maybe help describe the problem, I run the app, click onto control1-2(tabstop 4) and press tab it will tab to textbox 1-1(tabstop 2) even though the next tab should be textbox1-2(tabstop 5). Now click back into control 1-2(tabstop 4) and press tab again and it will tab to textbox2-1(tabstop 3) when again it should have tabbed to textbox 1-2(tabstop 5). It will continue to do this tabbing through each control.
So if anyone has experianced this problem or knows how to fix it i would greatly appreciate it. I know my description is a little confusing but it takes about 3 minutes to recreate my project so if you want you could do that to better see what im talkign about.
Thanks again
First I created a custom control(control1) that has a textbox on it and a label under the textbox. The label is not a tabstop the textbox is. Now if i use this control(control1) on a form it works just fine there is no problem. The problem occours when I create another control(control2) that has 3 control 1's on it and 6 textboxes on it (arranged similar to a datagrid one control1 followed by two textboxes, then down below that row would be the same arrangement) so that the tab order is 1.) control1-1 2.)textbox1-1 3.)textbox2-1 4.)control1-2 5.)textbox1-2 6.)textbox 2-2 7.)control1-3 8.)textbox1-3 9.)textbox2-3. Now if i put this new control(control2) on a form and if i click into any of the control1's and press tab it will go to the next tabstop as if i hadnt clicked the control1 at all. Here is an example to maybe help describe the problem, I run the app, click onto control1-2(tabstop 4) and press tab it will tab to textbox 1-1(tabstop 2) even though the next tab should be textbox1-2(tabstop 5). Now click back into control 1-2(tabstop 4) and press tab again and it will tab to textbox2-1(tabstop 3) when again it should have tabbed to textbox 1-2(tabstop 5). It will continue to do this tabbing through each control.
So if anyone has experianced this problem or knows how to fix it i would greatly appreciate it. I know my description is a little confusing but it takes about 3 minutes to recreate my project so if you want you could do that to better see what im talkign about.
Thanks again