Jump to content

[RESOLVED] Default Slider Position


cueclub
 Share

Recommended Posts

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 by cueclub
Link to comment
Share on other sites

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.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...