Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 03:33:22 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  Mach Screens
| | |-+  Machscreen Screen Designer (Moderator: Klaus1311)
| | | |-+  Horizontal slider DRO format string ?
Pages: 1   Go Down
Print
Author Topic: Horizontal slider DRO format string ?  (Read 560 times)
0 Members and 1 Guest are viewing this topic.
tmead
Active Member

Offline Offline

Posts: 61


View Profile
« on: October 15, 2010, 05: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
Logged
tmead
Active Member

Offline Offline

Posts: 61


View Profile
« Reply #1 on: October 15, 2010, 10: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
Logged
Klaus1311
Active Member

Offline Offline

Posts: 302


View Profile WWW
« Reply #2 on: October 15, 2010, 11:01:34 AM »

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
Logged
tmead
Active Member

Offline Offline

Posts: 61


View Profile
« Reply #3 on: November 07, 2010, 10:29:26 AM »

Thanks Klaus, now I'm using your editor this is all much easier !

Tim
Logged
ger21
Global Moderator
*
Offline Offline

Posts: 2,616



View Profile WWW
« Reply #4 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.
Logged

tmead
Active Member

Offline Offline

Posts: 61


View Profile
« Reply #5 on: November 11, 2010, 06:55:19 AM »

Thanks Gerry.
Logged
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!