Paul:

> I created a slider with a label on the left and right in a group.
> The slider is set to min 0, max 2, inc 1 and it's script is:
> on scrollbarDrag pNewPosition
> [...]

I like this UI approach! Your script could be shorter.
A 4-liner or 5-liner would be ideal; just eliminate the switch.
(The current code is essentially repeating the same commands 3 times.)

Best wishes,

Curry Kenworthy

Custom Software Development
"Better Methods, Better Results"
LiveCode Training and Consulting
http://livecodeconsulting.com/

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to