Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


LinkLabel TabStop Question

Posted on 2004-10-23
Medium Priority
Last Modified: 2008-03-17
I am using a LinkLabel on a Windows Application Form and wish to disable the TabStop function. I have tried the following but the application still gives focus to the control if the TabIndex for the control is next in order.

        Me.lnkFirst.Location = New System.Drawing.Point(88, 8)
        Me.lnkFirst.Name = "lnkFirst"
        Me.lnkFirst.Size = New System.Drawing.Size(48, 16)
        Me.lnkFirst.TabIndex = 0
        Me.lnkFirst.TabStop = False
        Me.lnkFirst.Text = "First"
        Me.lnkFirst.TextAlign = System.Drawing.ContentAlignment.BottomLeft

I do not wish to use Me.lnkFirst.Enable = False for obvious reasons, I want the link to function. I just want to stop the Tab key from assigning focus to the LinkLabel control. By the way, this is just one of 20 LinkLabel controls on the form. This seems like it should be pretty simple but I am stumped.

Thank you in advance,
Question by:Gregory Miller
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
1 Comment
LVL 10

Accepted Solution

prakash_prk earned 200 total points
ID: 12410811
put this line form load event

 Me.lnkFirst.TabStop = False


Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

609 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