Solved

Tabstop with OCX - Control

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VBA loop through headers using value 3 57
VB 6.0 printer how to align 6 58
bit defender blocks good applications 2 82
Convert VB6 MSXML2.ServerXMLHTTP process to C# 2 42
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

920 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

16 Experts available now in Live!

Get 1:1 Help Now