Using the slider item

View previous topic View next topic Go down

Using the slider item

Post by Admin on Tue Mar 08, 2016 8:32 am

Here is how to use a slider:
- select menu -> edit ui
- click on blank space where you want to add the slider
- select slider
- the slider will appear in the interface
- move it by dragging the top left corner
- resize it by dragging the bottom right corner
- edit its options by clicking on it

set id:
Set the text string that the slider will send, followed by a space (or not), and the slider value.

set label:
Set the text string that will appear under the slider item (it will not be sent).

set min:
Set the minimum value for the slider. Default is 0.

set max:
Set the maximum value for the slider. Default is 255.

send when moved / send when released:
The slider id and value will be sent when you move it, or when you release it.

set color:
Change the slider color.

send / don't send space:
Send space after the slider id (example: "vol 80\n"), or not (example: "vol80\n").

auto return:
Automatically return slider to middle value (or other) when you release it.

set return value:
Set the value to which the slider should return when released.
Default is mid (middle). You can enter a number, or one of min/mid/max.

set repeat period:
Set the time interval (in milliseconds), at which the slider will keep sending its id and value, even if you don't move it. Default is 0 (repeat disabled).

Admin
Admin

Posts : 111
Join date : 2016-03-08

View user profile http://roboremo.makeforum.net

Back to top Go down

Re: Using the slider item

Post by ECV on Thu Feb 16, 2017 12:12 pm

Hi
For a slider i wish to display the slider value in the label.
How to set the label text?
Everything i tried shows up as typed.
The description in the manual with the # seems not to work or is not clear to me.

Thanks!

ECV

Posts : 5
Join date : 2017-02-16

View user profile

Back to top Go down

Re: Using the slider item

Post by Admin on Thu Feb 16, 2017 1:34 pm

Hi,
use "#*1" (without "")
All the best,
Victor

Admin
Admin

Posts : 111
Join date : 2016-03-08

View user profile http://roboremo.makeforum.net

Back to top Go down

Re: Using the slider item

Post by ECV on Thu Feb 16, 2017 2:22 pm

Thanks!

Don't know why i could not figure this out by myself. Embarassed

ECV

Posts : 5
Join date : 2017-02-16

View user profile

Back to top Go down

Re: Using the slider item

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum