Question about slider
Jan Schenkel
janschenkel at yahoo.com
Mon Jun 28 04:46:11 EDT 2004
--- François Cuneo <francois.cuneo at cuk.ch> wrote:
>
>
> Hello everybody!
> I have a slider with 4 positions.
>
> Sart Value: 0
> End Value: 3
>
> Is it possible to force the slider to be only on one
> of these position?
>
> It would be fine if the user could feel
> "clic/clic/clic/" when he slides!:-)
>
>
>
> Amicalement
> François
>
Bonjour François,
You can react to changes in the slider by trapping the
'scrollbarDrag' message. Example :
--
on scrollbarDrag pValue
beep
if pValue is 3 then put "Foo" into field "Bar"
end scrollbarDrag
--
Hope this helped,
Jan Schenkel.
=====
"As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld)
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail
More information about the use-livecode
mailing list