Slider values

Michael J. Lew michaell at unimelb.edu.au
Wed Jun 8 22:09:50 EDT 2005


What do these number series have in common, and what is the underlying pattern?
a: 1,2,3,4,5,6,7,8,8,9,10;
b: 1,10,20,29,38,48,57,67,76.

The answer is they are the series of values that you get when you 
click on the bar of (a) a fresh, unadjusted slider control, and (b) a 
slider with its "On bar click" value (pageInc property) set to 10.

Here is a challenge:
Make a slider control that starts at 0 and increments by exactly 10 
when you click on the bar, up to 100.

It is certainly possible, but not easy if you don't know the trick.

Regards,
-- 
Michael J. Lew

Senior Lecturer
Department of Pharmacology
The University of Melbourne
Parkville 3010
Victoria
Australia

Phone +613 8344 8304

**
New email address: michaell at unimelb.edu.au
**


More information about the use-livecode mailing list