Color Picker / Chooser

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
xfratboy
Posts: 97
Joined: Fri Mar 05, 2010 9:09 pm

Color Picker / Chooser

Post by xfratboy » Sun Mar 14, 2010 5:20 pm

Is there such a thing as a color picker /chooser in Rev or do we have to create our own?

Klaus
Posts: 14198
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Color Picker / Chooser

Post by Klaus » Sun Mar 14, 2010 6:21 pm

Hi xfratboy,

for me a simple

Code: Select all

on mouseup
   answer color
   if it <> empty then
    ## set any color you want to IT
  end if
end mouseup
does the job reliably and crossplatform :)

Best

Klaus

xfratboy
Posts: 97
Joined: Fri Mar 05, 2010 9:09 pm

Re: Color Picker / Chooser

Post by xfratboy » Sun Mar 14, 2010 10:39 pm

That is just plain perfect! Thanks!

Post Reply