How to set the tab order for controls in different dll user controls

  • Thread starter Thread starter Kakkanattu
  • Start date Start date
K

Kakkanattu

Hi All,
Im my windows application(.NET 3.0), I have a window form. In that I
am using one usercontrol. The user control is from another project/
dll. So while pressing the tab key, once all the controls get visited,
I want to visit the controls in the user control and after that again
come back to the main window form controls. Could you please help
me..?

Thanks
RoBiN
 
Hello Kakkanattu,

what tabID is set in your controls and dll controls?

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo


K> visit the controls in the user control and after that again
K> come back to the main window form controls. Could you please help
K> me..?
 
Hello Kakkanattu,

what tabID issetin yourcontrolsanddllcontrols?

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog:http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

K> visit thecontrolsin theusercontrol and after that again
K> come back to the main window formcontrols. Could you please help
K> me..?

Hi Michael,
In the controls in the window forms, the tab index starting from 1,
2.... For the controls in the usercontrol in the another dll also the
tab index is starting from 1, 2... Also this user controls is used by
different other projects also. Thats why the controls in the user
control set the tabindex as 1, 2...

Thanks
RoBiN
 
Back
Top