Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Code Samples & Tips > Additional Libraries
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Additional Libraries Users contributed libraries.
This sub-forum is only available to licensed users.


LinkLabel - Libary


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-14-2007, 03:57 PM
Newbie
 
Join Date: May 2007
Posts: 6
Default LinkLabel - Libary

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
Attached Files
File Type: zip LinkLabel.zip (3.3 KB, 95 views)
Reply With Quote
  #2 (permalink)  
Old 05-14-2007, 04:20 PM
specci48's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: Germany
Posts: 610
Default

Hello hoffi,



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
Reply With Quote
  #3 (permalink)  
Old 05-14-2007, 04:33 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 1,198
Default

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...
__________________
Paulo Gomes
Porto, Portugal

PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD
PPC: Qtek9000, 1GB SD
Reply With Quote
  #4 (permalink)  
Old 05-14-2007, 05:27 PM
Newbie
 
Join Date: May 2007
Posts: 6
Default

Thanks

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

bye for now
hoffi
Attached Files
File Type: zip LinkLabel_source.zip (3.0 KB, 92 views)
File Type: zip LinkLabel.zip (3.0 KB, 70 views)
Reply With Quote
  #5 (permalink)  
Old 05-14-2007, 05:49 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 2,956
Default

.
BTW, it is not necessary to create a public event for events that are not used from Basic4ppc (like the Paint event here).
If you do need several public events then you need to create an eventObject for each one (you can name it whatever you like).
Reply With Quote
  #6 (permalink)  
Old 05-15-2007, 10:48 AM
Newbie
 
Join Date: Apr 2007
Posts: 5
Default

can you create a short text file with the explanation of the properties? I will include this in the manual files
__________________
Juergen
______________
Home in: Halle/Saale, Germany
Active with: PPC Fujitsu Siemens Loox 718
Reply With Quote
  #7 (permalink)  
Old 05-15-2007, 11:25 AM
Newbie
 
Join Date: May 2007
Posts: 6
Default

Hi all,

Thank you Erel!

Quote:
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
Reply With Quote
  #8 (permalink)  
Old 05-15-2007, 08:12 PM
Junior Member
 
Join Date: Apr 2007
Location: Olympia, Washington USA
Posts: 24
Default

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
Reply With Quote
  #9 (permalink)  
Old 05-17-2007, 05:33 PM
Newbie
 
Join Date: May 2007
Posts: 6
Default

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
Attached Files
File Type: zip LinkLabel.zip (3.1 KB, 118 views)
Reply With Quote
  #10 (permalink)  
Old 05-17-2007, 06:13 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 1,198
Default

Litle by litle, what started as atryout library as grown to be a full grown one.
Congratulations Hoffi!!!
__________________
Paulo Gomes
Porto, Portugal

PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD
PPC: Qtek9000, 1GB SD
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
NotifyIcon Libary dzt Additional Libraries 22 08-31-2008 12:16 PM


All times are GMT. The time now is 07:42 AM.


Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0