Adjusting button colours

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
bidgeeman
Posts: 495
Joined: Wed Feb 21, 2007 7:58 am

Adjusting button colours

Post by bidgeeman »

Hello.
I know this is a basic question but I can't figure out the process of changing the colour of a 3D generic button while maintaning it's shape. Eveytime I select a new colour the button changes colour but the edges become square.

Any tips would be appreciated.

Thanks
Bidge
Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark »

Hi Bidge,

You can't do that. Either you use native buttons or you use buttons that are drawn by the Revolution engine. Only the latter can be colorised.

Another option might be to use icons in the form of a colorised button in combination with transparent buttons.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
bidgeeman
Posts: 495
Joined: Wed Feb 21, 2007 7:58 am

Post by bidgeeman »

Thanks Mark.
That's interesting. I thought there would be a way to do it and it was just a case of "New User Blindness". I'll try doing up my own buttons.

Many thanks
Bidge
whelkybaby
Posts: 47
Joined: Sat Nov 17, 2007 6:04 pm

Post by whelkybaby »

I made my own textured buttons a while ago. The stack on this page might help. Have a look at this:

http://theworcestersource.com/downloads ... fault.aspx


Steve
bidgeeman
Posts: 495
Joined: Wed Feb 21, 2007 7:58 am

Post by bidgeeman »

Wow whelkybaby! That is very nice indeed. Thanks for sharing.

Cheers
Bidge
RRobert
Posts: 151
Joined: Sat Feb 28, 2009 8:20 pm

Post by RRobert »

Thanks for sharing! :)
Post Reply