Machsupport Forum

Mach Discussion => Mach Screens => Screen designer tips and tutorials => Topic started by: Greolt on July 22, 2008, 04:32:26 AM

Title: Format strings for sliders ???
Post by: Greolt on July 22, 2008, 04:32:26 AM
Is there any info anywhere on the format strings for sliders in Screen4?

Greg
Title: Re: Format strings for sliders ???
Post by: Chaoticone on July 22, 2008, 10:43:09 AM
Hey Greg, not sure if there is any info posted but if you tell me what your tryiong to do, I'll try and see if I can figure it out and post what I find.

Brett
Title: Re: Format strings for sliders ???
Post by: ger21 on July 22, 2008, 11:28:53 AM
I don't have a copy installed here at work, but if I recall, the L is the min value, H is the max value. I looked at the ones in the standard screen, they were something like STDL10H250 with the standard DRO string added on at the end. I found that if I removed the D (I think), It would not display the numbers with the slider. I didn't need them since I had a DRO displaying them. I wanted to make a horizontal slider, and Art said it was possible, but the info he gave didn't appear to be correct.

If there is any info out there, I couldn't find it.
Title: Re: Format strings for sliders ???
Post by: ger21 on July 23, 2008, 09:00:18 PM
Just checked, and I used this to get a slider that did NOT display the value.

SL10H200%0.3f

goes from 10 to 200. Even though it doesn't display the value, I accidentally found out that it didn't work correctly if I omitted the %0.3f