Tabstop with OCX - Control

I want to create a new OCX, which includes just a textbox. How is it possible, to define the Tabstop - Property in the UserControl?
In my opinion the UserControl does not have a Tabstop - Property. And the Textbox in the UC has one. If I offer the Property, the UC does not react in a testprogram.

Thanks for your help.
squeezerAsked:
Who is Participating?
 
mdlillyCommented:
Try changing the ForwardFocus property, this should fix the problem.
0
 
MirkwoodCommented:
This should works as you described. Set both the tabstop of the user control and the edit box to true and you should have no problems
0
 
squeezerAuthor Commented:
OK, it works. But if I try to set the Tabstop - Property of the TextBox in the UC to False by sourcecode, the UC has got still a Tabstop in a testprogramm.
Sorry for my bad english.
0
 
MirkwoodCommented:
In that case you should set CanGetFocus to false
or try to set extender.tabstop = false

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.