cueclub 0 Posted September 12, 2010 (edited) I have searched the forums. And perhaps I am overlooking it. Is there a way to set a slider to a default position? Currently I have to keep resetting it. And was hoping a default position could be read from an ini.... If there is a post and I have missed it, perhaps someone could point me in the right direction. Thanks Cue Edited September 12, 2010 by cueclub Share this post Link to post Share on other sites
somdcomputerguy 103 Posted September 12, 2010 I use GUICtrlSetData and IniRead to set a 'default' position for a slider bar. A code snippet follows..$Slider_MaxVol = GUICtrlCreateSlider(170, 70, 85, 20) GUICtrlSetData($Slider_MaxVol, IniRead($sIni, "Levels", "MaxVolume", 25)) - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Share this post Link to post Share on other sites
cueclub 0 Posted September 12, 2010 It would be so much easier if you could just throw a default variable in there like most other thing... Hint Hint.... ty sir Cue Share this post Link to post Share on other sites
somdcomputerguy 103 Posted September 12, 2010 You bet. Hope it helps.. - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Share this post Link to post Share on other sites