Solved

Tabstop with OCX - Control

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Suggested Solutions

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…
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.
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…
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…

830 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