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

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
 
M

Michael Nemtsev [MVP]

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..?
 
K

Kakkanattu

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top