[TIP] Show thumbnail page in Servoy

Find out how to get things done with Servoy. Post how YOU get things done with Servoy

[TIP] Show thumbnail page in Servoy

Postby Karel Broer » Mon Oct 23, 2006 6:41 pm

In this Servoy 3 example, you're able to show
images as thumbnails in 3 horizontal columns.

Of course you can add as many columns as you like,
just browse trough the method and you'll find out soon enough how. :wink:

The 'media:///servoy_blobloader' does the main job.
I guess this method can have some more fine tuning,
but I tried to keep it as easy as possible for everyone.

Click on the pictures and a dialog will appear. 8)
The solution needs the example_data connection.

Have fun with it!
Many thanks to Edward Callaghan for pictures and text!
Attachments
fc_tumbs_example.servoy
(257.37 KiB) Downloaded 418 times
Last edited by Karel Broer on Thu Jul 17, 2008 4:00 pm, edited 3 times in total.
Karel Broer
ServoyCamp - http://www.servoycamp.com
User avatar
Karel Broer
 
Posts: 779
Joined: Mon May 03, 2004 12:49 am
Location: Doetinchem

Postby IT2Be » Mon Oct 23, 2006 7:11 pm

Nice! Thank you for sharing this...
Marcel J.G. Trapman (IT2BE)
SAN partner - Freelance Java and Servoy
Servoy Components - IT2BE Plug-ins and Beans for Servoy
ServoyForge - Open Source Components for Servoy
User avatar
IT2Be
Servoy Expert
 
Posts: 4766
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany

Postby Karel Broer » Tue Nov 14, 2006 2:36 pm

Paul Bakker made the solution even more slick by enhancing the method to a more flexible way of coding. Thanks Paul!

Additions:
- set column amount
- fontsize is set to points
- tooltip in web client(!)

Image
Attachments
fc_tumbs_example.servoy
(243.85 KiB) Downloaded 417 times
Karel Broer
ServoyCamp - http://www.servoycamp.com
User avatar
Karel Broer
 
Posts: 779
Joined: Mon May 03, 2004 12:49 am
Location: Doetinchem

Postby pbakker » Tue Nov 14, 2006 2:54 pm

Note: The images do not display currently in the WC, but this will be fixed in 3.02.

Paul
pbakker
 
Posts: 2822
Joined: Wed Oct 01, 2003 8:12 pm
Location: Amsterdam, the Netherlands


Return to How To

Who is online

Users browsing this forum: No registered users and 7 guests