Sarah Reichelt wrote:
> Here is a function I gleaned from the list a long time ago.
>
> function translateColorName pColorName
>    lock screen
>    lock messages
>    create btn "ColorTest"
>    put it into tButtonID
>    set the backcolor of tButtonID to pColorName
>    get the effective backpixel of tButtonID
>    set the backcolor of tButtonID to empty
>    set the backpixel of tButtonID to it
>    put the backcolor of tButtonID into tRGB
>    delete tButtonID
>    return tRGB
> end translateColorName

Do you know of a way in which that might be modified to use the templateButton rather than a physical button?

--
 Richard Gaskin
 Managing Editor, revJournal
 _______________________________________________________
 Rev tips, tutorials and more: http://www.revJournal.com
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to