2 Attachment(s)
simple slider bar using object events
Hello
I was looking for the slider bar object and my searches showed others were looking as well
I made my own and am posting this example
It uses events in the active object so you can just copy and paste the object in an app, only modifying it for the placement in the window
One thing that is cool about doing it this way is that you could make the "knob" be any graphic you like
Hopefully this is not too simplistic, I know there are many advanced users on this board...
Re: simple slider bar using object events
No, this is not too simplistic.
I think it qualifies as what I have been calling "widgets", at least in a basic way -- everything is contained in the behavior and no other objects are used.
Something like this might be expanded upon and even saved with various graphic representations of the knob that perhaps could be chosen by setting an Alterable Value from the main events. Of course the name of the object would be changed to something that reflects what it is. You could then put the mfa in the lib/widgets folder for reuse.
Thanks.