Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 264
  • Last Modified:

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.
0
squeezer
Asked:
squeezer
  • 2
1 Solution
 
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
 
mdlillyCommented:
Try changing the ForwardFocus property, this should fix the problem.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now