Solved

Tabstop with OCX - Control

Posted on 1999-01-24
4
254 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
  • 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

778 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