I need to do simple coloured buttons to my rollout just like the thepupettool script. I know I can do it with images, but I only need a fast and simple way to changes solid colors. Any Idea?
Forum topic · General Scripting
Coloured Buttons Please
By Roo · 2011-03-22
Comments (1)
Comment policy
If you don't want to go the dotnet way, you can just change the .images property of button or use imgtag instead and change its .bitmap property (and you don't have to deal with the #(bitmap, alpha, 1,1,1,1,1) definition and get some extra functions as a bonus). For example:
Note that I used a disabled progressbar to frame the imgtag. That was just to give it some kind of a border and is quite hacky but it works...