Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Code Samples & Tips > Additional Libraries
Documentation Wiki Register Members List B4P 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, 04: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, 150 views)
Reply With Quote
  #2 (permalink)  
Old 05-14-2007, 05:20 PM
specci48's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: Germany
Posts: 993
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
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, 05:33 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 2,313
Awards Showcase
Forum Contributer 
Total Awards: 1
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 - Living/Working in France-Saumur
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)
B4PPC DLL Version Listing - B4Android DLL Version Listing
Reply With Quote
  #4 (permalink)  
Old 05-14-2007, 06: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, 140 views)
File Type: zip LinkLabel.zip (3.0 KB, 107 views)
Reply With Quote
  #5 (permalink)  
Old 05-14-2007, 06:49 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 13,162
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
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, 11: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, 12:25 PM
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, 09:12 PM
Senior Member
 
Join Date: Apr 2007
Location: Arlington, Washington USA
Posts: 176
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, 06: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, 173 views)
Reply With Quote
  #10 (permalink)  
Old 05-17-2007, 07:13 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 2,313
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

Litle by litle, what started as atryout library as grown to be a full grown one.
Congratulations Hoffi!!!
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France-Saumur
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)
B4PPC DLL Version Listing - B4Android DLL Version Listing
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 Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
NotifyIcon Libary dzt Additional Libraries 27 08-21-2009 07:51 PM


All times are GMT. The time now is 10:16 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0