Scrollbar/slider attributes

Richmond Mathewson richmondmathewson at
Fri Sep 30 13:41:47 EDT 2011

On 09/30/2011 08:18 PM, Ronald Zellner wrote:
> I am using scrollbars (sliders) to obtain ratings on a series of topics.
> Obviously, I need to have the default position of the slider at zero or at some mid point.  Is there an alternative to that?
> Also, a problem with sliders is you can't tell when people are simply satisfied with the default position for an item and when they forgot to answer that item.
> Anyone know of a visible attribute change that would indicate that the person at least touched the slider? (e.g.  on mouseUp)

"I touched it" Latrine in "Robin Hood, Men in Tights"

> I know I can check for untouched sliders by using a variable and then prompt them to rate those  items or change a graphic, etc. , but was wondering if there is a visual attribute that can be changed.

Better go for a mouseDown rather than a mouseUp, as the punter (whoops, 
might slide their pointer off the control when they change their mind.

I just mocked up a stack containing a slider and a fld "fTOUCH" and put 
this into
the script of the slider:

on mouseDown
    "put "Touched Me!" into fld "fTOUCH"
end mouseDown

rocket-science it ain't . . .  :)
> Anyone played with this before?
> Thanks,
> Ron
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the Use-livecode mailing list