Hyperlink text

  • Thread starter Thread starter Mike
  • Start date Start date
Thanks. I did find this and I'm trying to get it to work.
I downloaded the .dll file and added it to the Toolbox in
VS.Net 2003 (VB.NET Pocket PC project). But it shows as
greyed out in the Toolbox under "Device Controls". How do
I add one to a form? Do I have to do it with code?
 
Ok, try using the LinkLabel from the link below instead. This should come
with the appropriate design-time version and set it all up for you.
http://www.intelliprog.com/netcf/linklabel.html

--
Tim Wilson
..Net Compact Framework MVP

Mike said:
Thanks. I did find this and I'm trying to get it to work.
I downloaded the .dll file and added it to the Toolbox in
VS.Net 2003 (VB.NET Pocket PC project). But it shows as
greyed out in the Toolbox under "Device Controls". How do
I add one to a form? Do I have to do it with code?
 
Thanks! Can you have it go to a form when the user
clicks on the link or is it only for linking to web pages?

What I really want is a clickable icon + text
combination - a button with an icon + text would be
great, but I figured I could do it with a PictureBox and
a LinkLabel.
 
See comments below.
Thanks! Can you have it go to a form when the user
clicks on the link or is it only for linking to web pages?

You can have it link to a form by handling the form creation in the
LinkClicked event for the control. So inside the event handler for the
LinkClicked event create an instance of your new form and show it. When the
link is clicked (tapped) this event is called. So you can do whatever you
want inside the handler.

MyNewForm myForm = new MyNewForm()
myForm.Show()
What I really want is a clickable icon + text
combination - a button with an icon + text would be
great, but I figured I could do it with a PictureBox and
a LinkLabel.

You could always change the code for the LinkLabel to allow a picture to be
added so that the entire link is the picture + label.
 
Back
Top