Hi Richard,

Le 27 f�vr. 05, � 10:18, Richard Gaskin <[EMAIL PROTECTED]> a �crit :

I'd like to have a scale in a range from 1 to 5 with 5 ticks on it, and
with snap-to behavior so this indicator will line up with the ticks.

Scrollbar's properties:

startValue: 0
endValue: 5
showValue: true

and:

on scrollbarDrag pPos
  set the numberFormat of me to "#"
  set the pageInc of me to "0.8"
end scrollbarDrag

on mouseUp
  set the numberFormat of me to ".###"
  set the thumbPos of me to round(the thumbPos of me mod 10)
end mouseUp

Hope this helps.
Regards,

Eric Chatonet.
----------------------------------------------------------------
So Smart Software

Pour les institutionnels, les entreprises et les associations
Des logiciels sur mesure : gestion, multim�dia, internet, etc.
Windows, Mac OS et Linux... Avec la "french touch"

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch
----------------------------------------------------------------
Web site                http://www.sosmartsoftware.com/
Email           [EMAIL PROTECTED]/
Phone           33 (0)1 43 31 77 62
Mobile          33 (0)6 20 74 50 86
----------------------------------------------------------------

_______________________________________________
use-revolution mailing list
[email protected]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to