VB6 clickable label
-
Hello, How can I make a label clickable? Like a signout link. Many thanks for any help :D
Aim small, miss small
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.
-
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.
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