Page 2 of 2

Re: need to generate 3 fields with in a set location

Posted: Thu Mar 15, 2012 11:35 pm
by d.m.holdawayGA2553

Code: Select all

global sDefaultvalue
on scrollbardrag
     put "30" into sDefaultvalue
    set startvalue of scrollbar "name of scrollbar" to sDefaultvalue
    ## set startvalue to sDefaultvalue
     put the thumbpos of me into  sUsertimer
end scrollbardrag
??? Does this work for you?
kind of, is there a way i can set it to whole numbers? i have tried within the properties but it does not seem to stay.

Re: need to generate 3 fields with in a set location

Posted: Thu Mar 15, 2012 11:38 pm
by Klaus
What do you mean with "set to whole numbers"?

Re: need to generate 3 fields with in a set location

Posted: Fri Mar 16, 2012 5:28 pm
by d.m.holdawayGA2553
it outputs a decimal point

for example i have a countdown timer which is set via one of the scrollbars

when i set the timer to say 60, the field which it is outputting to will start at 60 then the next number would be 59.999

does that make sense ?