sshrum Posted August 21, 2007 Share Posted August 21, 2007 (edited) Does such an object exist? Instead of a bar with a left-right orientation...I'm looking for a bar with a up-down orientation. Any ideas? Edited August 21, 2007 by sshrum Sean Shrum :: http://www.shrum.net All my published AU3-based apps and utilities 'Make it idiot-proof, and someone will make a better idiot' Link to comment Share on other sites More sharing options...
GaryFrost Posted August 21, 2007 Share Posted August 21, 2007 look at the styles for slider control $TBS_VERT SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
sshrum Posted August 21, 2007 Author Share Posted August 21, 2007 (edited) look at the styles for slider control $TBS_VERTAny way to reverse its progress...looks like 0 is at the top...Id like it at the bottom Edited August 21, 2007 by sshrum Sean Shrum :: http://www.shrum.net All my published AU3-based apps and utilities 'Make it idiot-proof, and someone will make a better idiot' Link to comment Share on other sites More sharing options...
GaryFrost Posted August 21, 2007 Share Posted August 21, 2007 #include <GUIConstants.au3> GUICreate("slider",220,300) GUISetBkColor (0x00E0FFFF) ; will change background color $slider1 = GUICtrlCreateSlider (10,10,20,100, $TBS_VERT) GUICtrlSetLimit(-1,0,-200) ; change min/max value $button = GUICtrlCreateButton ("Value?",75,70,70,20) GUISetState() GUICtrlSetData($slider1,45) ; set cursor $start=TimerInit() Do $n = GUIGetMsg () If $n = $button Then MsgBox(0,"slider1",GUICtrlRead($slider1) * -1,2) $start=TimerInit() EndIf Until $n = $GUI_EVENT_CLOSE SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
sshrum Posted August 22, 2007 Author Share Posted August 22, 2007 (edited) Noticed something with the slider...When in vert mode, I only get 2 ticks, one at the beginning and one one the end. Is there a way to get all my ticks back like when in horizontal mode>? $oVolSlide = GUICtrlCreateSlider(72, 50, 41, 350, $TBS_LEFT + $TBS_VERT) EDIT NVRMND: $TBS_AUTOTICKS (isn't a default)...working now Edited August 22, 2007 by sshrum Sean Shrum :: http://www.shrum.net All my published AU3-based apps and utilities 'Make it idiot-proof, and someone will make a better idiot' Link to comment Share on other sites More sharing options...
sshrum Posted August 22, 2007 Author Share Posted August 22, 2007 (edited) Negative values...kewl. Another ?...I can't seem to get the sliders to match my GUI BGCOLOR = 0x000000. What do I need to do to get them to change? I even tried: GUICtrlSetBkColor(-1, $GUI_BKCOLOR_TRANSPARENT) TIA EDIT NVRMND, I needed to use: GUICtrlSetBkColor(-1, 0x000000) Edited August 22, 2007 by sshrum Sean Shrum :: http://www.shrum.net All my published AU3-based apps and utilities 'Make it idiot-proof, and someone will make a better idiot' Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now