Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 01:48:28 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  Mach Screens
| | |-+  Screen designer tips and tutorials
| | | |-+  Format strings for sliders ???
Pages: 1   Go Down
Print
Author Topic: Format strings for sliders ???  (Read 2494 times)
0 Members and 2 Guests are viewing this topic.
Greolt
Global Moderator
*
Offline Offline

Posts: 872


View Profile
« on: July 22, 2008, 03:32:26 AM »

Is there any info anywhere on the format strings for sliders in Screen4?

Greg
Logged
Chaoticone
South Carolina, US
Administrator
*
Offline Offline

Posts: 3,598


Precision Chaos



View Profile WWW
« Reply #1 on: July 22, 2008, 09: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
Logged

Grin If you could see the things I have in my head, you would be laughing too. Grin
www.precisionchaos1.com
My guard dog is not what you need to worry about!
ger21
Global Moderator
*
Offline Offline

Posts: 2,620



View Profile WWW
« Reply #2 on: July 22, 2008, 10: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.
Logged

ger21
Global Moderator
*
Offline Offline

Posts: 2,620



View Profile WWW
« Reply #3 on: July 23, 2008, 08: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
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!