Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. VB6 clickable label

VB6 clickable label

Scheduled Pinned Locked Moved Visual Basic
questionhelp
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tatchung
    wrote on last edited by
    #1

    Hello, How can I make a label clickable? Like a signout link. Many thanks for any help :D

    Aim small, miss small

    Z 1 Reply Last reply
    0
    • T tatchung

      Hello, How can I make a label clickable? Like a signout link. Many thanks for any help :D

      Aim small, miss small

      Z Offline
      Z Offline
      Zaegra
      wrote on last edited by
      #2

      Because VB6 does not have the LinkLabel control, you will have to add a regular label. In the OnClick(..) event of the label put the code. You could also try underlining the label and giving it a blue color, so it looks like a link. In the same event you can also put the code for making the label look like it is clicked: change the color of the label from blue to purple. I don't know if VB6 has the MouseHover event yet, but if it does you could change the mouse pointer into a hand. Try Google aswell, there may be Third Party software for LinkLabels in VB6. Try Googling for "VB6 + LinkLabel control" or something like that. Hope this helps you out, :) --Zaegra--

      Motivation is the key to software development.

      T 1 Reply Last reply
      0
      • Z Zaegra

        Because VB6 does not have the LinkLabel control, you will have to add a regular label. In the OnClick(..) event of the label put the code. You could also try underlining the label and giving it a blue color, so it looks like a link. In the same event you can also put the code for making the label look like it is clicked: change the color of the label from blue to purple. I don't know if VB6 has the MouseHover event yet, but if it does you could change the mouse pointer into a hand. Try Google aswell, there may be Third Party software for LinkLabels in VB6. Try Googling for "VB6 + LinkLabel control" or something like that. Hope this helps you out, :) --Zaegra--

        Motivation is the key to software development.

        T Offline
        T Offline
        tatchung
        wrote on last edited by
        #3

        Zaegra wrote:

        You could also try underlining the label and giving it a blue color, so it looks like a link

        For some reason that made me laugh a little :-D Many thanks for this. That really works for me. And for the record I did try to google though I searched for "VB6+Label control+clickable" :^) Yeah, I know...quite stupid :rolleyes:

        Aim small, miss small

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups