Sign in to follow this  
Followers 0
Noob

I need my slider background the same color as my tabitem

6 posts in this topic

Posted Image

After reading the Help file and searching this forum I suspect it is not possible to change the background color of a slider. The color is "grey". The problem is that the "grey" doesn't match the "while" of my tabitem. As a workaround I filled the gaps between my sliders with "grey". I even added some "grey" around the whole area. It's okay, I guess, but if there is a better solution I would appreciate if someone would share. Thanks.

Share this post


Link to post
Share on other sites



Not sure if this will work, but have you tried:

GUICtrlSetBkColor($control, $GUI_BKCOLOR_TRANSPARENT)

Give that a shot.

Kurt


Awaiting Diablo III..

Share this post


Link to post
Share on other sites

Yes, I did try it, despite the Help saying the following: Only Label, Checkbox, Group, Radio, Edit, Input, List, Listview, ListviewItem, Treeview, TreeviewItem, Graphic and Progress controls can currently be colored.

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

I found a workaround to make them the same color as the background instead of setting a background to the sliders... You set the sliders as focus each one by one

GuiCtrlSetState($Slider, $GUI_FOCUS)

Hope that helps!

edit** Though you can't really use the arrow keys because the bottom one is always the focus =/ maybe you could save what the current edit is or the current slider being moved and it go back to that one when the other ones are finished or something.

Edited by NiM

Share this post


Link to post
Share on other sites

NiM.... did you happen to notice you responded to a post made almost a year ago?????

Mar 18 2007

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

NiM.... did you happen to notice you responded to a post made almost a year ago?????

Mar 18 2007

8)

Yes, yes I did, but maybe it might help someone out...

Why is it bad to response to old posts?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0