Solved

Tabstop with OCX - Control

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

707 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now