-
2 Attachment(s)
New ScollBar!
I rebuild the example made by "drnebula" and started adding all the missing components.
You now do not have to go into the event editor to edit the values.
Simply Change the alt val in your properties bar.
Dinamicly Change
the barsize
min,max,initial value
Enable/disable
Var Button sizes
Click on bar to jump to val.
I would like to make this better but still have a problem with the initial val to set scroller to the right X pos.
It seems to work sometimes but when changing the Min;Max;length;ext I seem to get buggy again.
I would like to make this better for everyones benefit.
Anybody with some idea how to fix please let me know.
I will then make more additions.
Thanks
-
Re: New ScollBar!
Thanks Horn for getting closer to the quest for a new Slider Bar. The coding is pretty complicated, so it will take me a while to look it over and see if I can find the bug. Definitely should be usefull - certainly better than what I have been doing.
Still would like to see a new slider bar extension.
Steve
-
Re: New ScollBar!
What's wrong with the MS slidebar activex control?
-
Re: New ScollBar!
1. looks dull
2. it's activeX
3. it's MS
-
Re: New ScollBar!
Why do you have create all alterable values ? And why don't you have named all alteable value that you use ?
-
Re: New ScollBar!
I'm Very bad at explaining things and might have missed some stuff I needed to explain.
I have so many alt val cause I cannot take the ones out in between that does not get used.
I only relized it after I wrote the thing and di'nt want to change the code just because of the alt val.
All the alt val is there for you to pre-set the scroll bar quickly.
So all you need to do is click on the property / values of the slider and change the value.
Alt val A = Var Value + Initial Value (still buggy)
Alt val B = Min
Alt Val C = Max
Alt val Length of Button = Width of the buttons for up/down
Slidebar X = x position of slidebar
Slidebar y = y position of slidebar
Alt Val Z = Length of slidebar
I tried to rename some var to min and max but mmf2 uses them as commands and give syntax error on the event editor.
I hope this is more clear and makes more sence.
-
Re: New ScollBar!
I understand what you've done. But I think this example will be more useful when altvalues used will be named correctly and other altvalues will not be created for nothing... :)