colorChoser and webclient

Questions, tips and tricks and techniques for scripting in Servoy

colorChoser and webclient

Postby antonio » Sun Apr 01, 2012 8:11 am

Is application.showColorChooser() meant to work in web client? There's a reference here to a fix in 5.1.3 for WC
https://www.servoy.com/forum/viewtopic.php?f=16&t=14185&p=74728&hilit=application.showColorChooser#p74728
If it's not available, does anyone have a workable WC alternative they could suggest to allow the user to select #RRGGBB ?

Thanks in advance
Tony
Servoy 8 - 2022.03 LTS
antonio
 
Posts: 638
Joined: Sun Apr 02, 2006 2:14 am
Location: Australia

Re: colorChoser and webclient

Postby jcompagner » Wed Apr 04, 2012 2:39 pm

color/font choosers only work in the smartclient,
I guess for webclient support you have to build something your self.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8829
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: colorChoser and webclient

Postby ngervasi » Wed Apr 04, 2012 3:11 pm

Just google for "javascript color picker", plenty of results. Probably you will need to use the WebclientUtils plugin.
Nicola Gervasi
sintpro.com
SAN Partner
ngervasi
 
Posts: 1485
Joined: Tue Dec 21, 2004 12:47 pm
Location: Arezzo, Italy

Re: colorChoser and webclient

Postby ngervasi » Wed Apr 04, 2012 3:13 pm

This looks promising: http://www.eyecon.ro/colorpicker/
Nicola Gervasi
sintpro.com
SAN Partner
ngervasi
 
Posts: 1485
Joined: Tue Dec 21, 2004 12:47 pm
Location: Arezzo, Italy

Re: colorChoser and webclient

Postby ROCLASI » Wed Apr 04, 2012 3:19 pm

See viewtopic.php?f=9&t=16213

Hope this helps.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: colorChoser and webclient

Postby antonio » Wed Apr 04, 2012 6:49 pm

Perfect, thanks!
Tony
Servoy 8 - 2022.03 LTS
antonio
 
Posts: 638
Joined: Sun Apr 02, 2006 2:14 am
Location: Australia


Return to Methods

Who is online

Users browsing this forum: No registered users and 8 guests