sliderbug or me being stupid again...?

Wouter wouter.abraham at pi.be
Wed Jul 28 13:16:52 EDT 2004


Hi,

Some weird behavior or am I doing something wrong?

recipe:
A scrollbar, style set to scale/slider, start value 1, end value  10, 
show value true
A button with the script:

on mouseUp
   put the thumbpos of sb 1 into tX
   repeat with i = 1 to tX
     put 0 into item i of tC
   end repeat
   put "thumbpos:" && tX && "output:" && tC
end mouseUp

Try different positions of the slidebar.
Look at the output with the thumb in the region just before the value 
shown changes.

TIA.

Greetings,
WA



More information about the use-livecode mailing list