Coloring bars?

Do you need something made? then ask in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
5 posts Page 1 of 1
Contributors
User avatar
Dummy1912
VIP - Donator
VIP - Donator
Posts: 1969
Joined: Sat Aug 21, 2010 2:17 pm

Coloring bars?
Dummy1912
Hello,

was wondering who can helpme with this part

what we like to have is
when we are loading bars in our panel
we like to change them with colors

we like to start with color white as backcolor
then when a new bar is added we like to have that bar as color 215,228,211
then we add a new bar then we get back the color white
ect....
it has to be going automatic ;) changing those backcolors

how someone can help me out.
Thanks
visit us on:


http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
User avatar
CodenStuff
Site Admin
Site Admin
Posts: 4389
Joined: Tue Aug 04, 2009 1:47 am

Re: Coloring bars?
CodenStuff
Can you clarify your question a bit.

Do you want the bar to change color like this?
backbar.png
If not can you give a quick image of what you're looking for :)
You do not have the required permissions to view the files attached to this post.
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
User avatar
Dummy1912
VIP - Donator
VIP - Donator
Posts: 1969
Joined: Sat Aug 21, 2010 2:17 pm

Re: Coloring bars?
Dummy1912
hmmm nice try :)
but no

i want this :D
98652356.png
You do not have the required permissions to view the files attached to this post.
visit us on:


http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
User avatar
CodenStuff
Site Admin
Site Admin
Posts: 4389
Joined: Tue Aug 04, 2009 1:47 am

Re: Coloring bars?
CodenStuff
You could use a boolean and change its true/false each time you add a bar...
Code: Select all
Dim BarBackCol as boolean = true
Default your bars to have a white background and then check it when adding each bar and changing its value , example;
Code: Select all
If (BarBackCol) then
Change background colour to gray
BarBackCol = false
else
BarBackCol = true
end if
Should work
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
User avatar
Dummy1912
VIP - Donator
VIP - Donator
Posts: 1969
Joined: Sat Aug 21, 2010 2:17 pm

Re: Coloring bars?
Dummy1912
OMG...

you are an angel :D

thanks works like a charm

result:
98652356.png

love you :lover;
You do not have the required permissions to view the files attached to this post.
visit us on:


http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
5 posts Page 1 of 1
Return to “Tutorial Requests”