Solved

Tabstop with OCX - Control

Posted on 1999-01-24
4
259 Views
Last Modified: 2013-12-25
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
Comment
Question by:squeezer
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 13

Expert Comment

by:Mirkwood
ID: 1489918
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
 

Author Comment

by:squeezer
ID: 1489919
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
 
LVL 13

Expert Comment

by:Mirkwood
ID: 1489920
In that case you should set CanGetFocus to false
or try to set extender.tabstop = false

0
 
LVL 1

Accepted Solution

by:
mdlilly earned 100 total points
ID: 1489921
Try changing the ForwardFocus property, this should fix the problem.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question