LinkLabel - Libary

hoffi

Member
Hi,

I had a little bit time today and so I decided to build a libary that includes a "link"-label. Its a label with click-event and the style of an link. Tested on an cf 2.0 device but it should run on cf 1.0 too.
Let me know if anything not work (Its my first libary :) )!

bye for now
 

Attachments

  • LinkLabel.zip
    3.3 KB · Views: 161

specci48

Well-Known Member
Licensed User
Longtime User
Hello hoffi,

:sign0098:

My additional question:
Could you extend your library with a label that looks like a normal label (no underscore)?
My additional wish:
Maybe Erel could import this feature(s) in his formlib for version 5.00, so we don't have to import so many libraries?


Thumbs up

specci48
 

Cableguy

Expert
Licensed User
Longtime User
Hi, Hoffi

Great job,
As Specci48 mentioned, is it possible to add a lbl1.underline=True/False like parameter?

it woul be very usefull in some situations when we need a clickable label without the underlinning...

BTW: If its possible can you make the sourcecode available? I'm trying to start in dll creation but not quite sure were to start...I have VS2005Pro...
 

hoffi

Member
Thanks :)

I have added the underline parameter.
The sourcecode and new libary are attached. I use VS2005Pro too :sign0060:. You can ask me if you have problems with dlls. I will try to help you.

bye for now
hoffi
 

Attachments

  • LinkLabel_source.zip
    3 KB · Views: 146
  • LinkLabel.zip
    3 KB · Views: 111

Juergen

Member
Licensed User
Longtime User
can you create a short text file with the explanation of the properties? I will include this in the manual files
 

hoffi

Member
Hi all,

Thank you Erel!

can you create a short text file with the explanation of the properties?
Yes of course. I will write the text in the next days and upload it here.

bye for now
hoffi
 

dlfallen

Active Member
Licensed User
Longtime User
I like this control a lot. Thank you for creating it and sharing it with us!

One question: is there anyway to change the font size? The ability to change that property would be quite nice.

-dlfallen
 

hoffi

Member
Hi,

Thank you dlfallen!

I attached the newest Dll with two new features:
- Fontstyle bold is supported
- The fontsize is changeable

bye for now
hoffi
 

Attachments

  • LinkLabel.zip
    3.1 KB · Views: 177

Cableguy

Expert
Licensed User
Longtime User
Litle by litle, what started as atryout library as grown to be a full grown one.
Congratulations Hoffi!!!:sign0060:
 

hoffi

Member
Hi,

Thanks :)
I think the next libary will come soon. :sign0060:

Juergen: I have attached the manual.

bye for now.
hoffi
 

Attachments

  • manual_linklabel.txt
    2.2 KB · Views: 123

Cableguy

Expert
Licensed User
Longtime User
Erel

I think this one deserves a place on the Basic4PPC anoucements lane...Don't You?

Hoffi ::sign0098:
 

Juergen

Member
Licensed User
Longtime User
@Hoffi
thanks for the textfile, I will include it in the next version of my manual.
But it will need a little bit time due to the presentation of the B4PPC-version 5.
 

pochero

Member
Licensed User
Very useful for my this library, but it could be sublime with the text-alignment property. Thank you.

TextAlignment:
TopLeft 0
TopCenter 2
TopRight 1

Example:
lbl1.TextAlignment = 1
 

corwin42

Expert
Licensed User
Longtime User
This is really a nice little Control but it is missing the Name property so you can't handle the Click-Event of many LinkLabels in just one Sub.

@hoffi:
I don't know if you still want to improve this Library because the thread is quite old now. If so coul you please add the Name property?

Is the Source of the current version available to merge this library into an executable?

@Cableguy
Will you add this Library to the List of Library Versions?

Greetings,
Markus
 
Top