Can't set progress bar color

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
kolia
Posts: 82
Joined: Thu May 28, 2015 3:53 pm

Can't set progress bar color

Post by kolia » Tue Sep 29, 2015 3:49 pm

Hello,
I trying to change the color of the bar inside the progress bar. Whatever I'm doing in the color and patterns submenu, it stays green. I tried to change bar property as well as background property. Nothing seems to act on it. What I'm doing wrong?
Thank you
Nicolas
Nicolas
LC 7.1 on Windows 8.1 and on MAC OS 10.10.5 Xcode 6.4 - 7.1

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

Re: Can't set progress bar color

Post by Klaus » Tue Sep 29, 2015 4:12 pm

Hi Nicolas,

please always note the version of LC and the platform you are using!

Well, some controls, like the progress bar, are actually supplied by the underlying OS,
so we can not modify their look at all. You already experienced this with radio buttons!

As the last resort we can always "roll our own", means create something that looks like
you want it to and acts like a progress bar to the user :D


Best

Klaus

kolia
Posts: 82
Joined: Thu May 28, 2015 3:53 pm

Re: Can't set progress bar color

Post by kolia » Tue Sep 29, 2015 4:14 pm

Hi Klaus,
You're are right, I should always disclose LC version. This is 7.1.
Thanks for your input
Nicolas
Nicolas
LC 7.1 on Windows 8.1 and on MAC OS 10.10.5 Xcode 6.4 - 7.1

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: Can't set progress bar color

Post by jmburnod » Tue Sep 29, 2015 7:49 pm

Hi Nicolas,
Here is a customProgressBar example.
Have a look at the cd script and build your own
Best regards
Jean-Marc
Attachments
CustomProgressBar.zip
(1.45 KiB) Downloaded 324 times
https://alternatic.ch

kolia
Posts: 82
Joined: Thu May 28, 2015 3:53 pm

Re: Can't set progress bar color

Post by kolia » Tue Sep 29, 2015 7:52 pm

Hi Jean-Marc,
Thanks a lot, this is very kind of you
Nicolas
Nicolas
LC 7.1 on Windows 8.1 and on MAC OS 10.10.5 Xcode 6.4 - 7.1

Post Reply