Machsupport Forum

Mach Discussion => Mach Screens => Machscreen Screen Designer => Topic started by: tmead on October 15, 2010, 06:28:12 AM

Title: Horizontal slider DRO format string ?
Post by: tmead on October 15, 2010, 06:28:12 AM
Anybody able to help out with the format of the DRO string ?

I've picked up that 'H' is the high limit, 'L' is the low limit and 'D' also shows the value and there must be a number format on the end to make it work. Anybody know what the other letters mean ?

Tim
Title: Re: Slider DRO format string ?
Post by: tmead on October 15, 2010, 11:50:15 AM
OK, so it's now clear that sliders can't be horizontal, but this info would help with a vertical one !

Tim
Title: Re: Horizontal slider DRO format string ?
Post by: Klaus1311 on October 15, 2010, 12:01:34 PM
Hi Tim,

actually, you don't have to bother about the format parameters. When you insert a slider you can select/set all the parameters in the property box.

Display pos : yes/No
Value pos  : top/bottom
Min : minum value
Max : maximum value


Klaus
Title: Re: Horizontal slider DRO format string ?
Post by: tmead on November 07, 2010, 10:29:26 AM
Thanks Klaus, now I'm using your editor this is all much easier !

Tim
Title: Re: Horizontal slider DRO format string ?
Post by: ger21 on November 07, 2010, 10:42:41 AM
SL10H200%0.0f

S = Slider?
L=Low
H= High
%0.0F is the numeric format

This is for a slider that goes from 10 to 200 with 0 decimal places.
Title: Re: Horizontal slider DRO format string ?
Post by: tmead on November 11, 2010, 06:55:19 AM
Thanks Gerry.