If you have access to FOXTOOLS.FLL:

SET LIBRARY TO FOXTOOLS.FLL
STORE 0 TO red,blue,green
colorchoice=getcolor()
rgbcomp(colorchoice,@red,@blue,@green)
?red
?blue
?green


Fred


On Fri, Jun 21, 2013 at 2:33 PM, Sytze de Boer <[email protected]> wrote:

> Time to show my iggorance once again
>
> My client wants me to print a square on a report and he wants to choose the
> color of this square.
>
> I've decided to default to the basics (Red, Yellow, Green, ETC) and an
> "OTHER button so he can choose something else
> So, I go
> colorchoice=RGB(255,0,0) for Red
> colorchoice=RGB(255,255,0) for Yellow
> ETC
>
> Then I get to OTHER
> colorchoice=getcolor()
> and colorchoice = a big long number
>
> How do I get this number into a RGB style?
>
>
> --
> Kind regards
> Sytze de Boer
> Kiss Software
>
>
> --- StripMime Report -- processed MIME parts ---
> multipart/alternative
>   text/plain (text body -- kept)
>   text/html
> ---
>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/CAJCBksq9JxD3H7hUWX_AputVNgMzEJDrkn=3jy10gzr4aue...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to