Page 1 of 1

Show simple bar or box ignoring user input?

Posted: 12 Apr 2017 20:49
by RichG
I'd like to show a simple bar of the x value of an object, and/or a box indicating the On/Off state of a variable.

I don't want the user to be able to touch them and change the value- I just want them to be indicators of values.
So far I'm using a a MultiSlider and a Pad... but in both cases the user can touch the screen to change the display.

Re: Show simple bar or box ignoring user input?

Posted: 14 Apr 2017 10:09
by lABl
Hi RichG,

What about of using a Canvas object with Touch Mode in mono-"touch? Set it On demand and right click over it > Bring to front thus your objects will be under the canvas object.

edit to add more info.

Cheers

Re: Show simple bar or box ignoring user input?

Posted: 14 Apr 2017 16:32
by oldgearguy
what about placing a transparent text or container object on top of the slider/box?

Re: Show simple bar or box ignoring user input?

Posted: 14 Apr 2017 19:18
by RichG
Thanks! I'll look into these suggestions.

I'm very surprised there's not or "level meter" or "ON/OFF Indicator" object. Seems like a VU Meter would be a fundamental component to have.

Re: Show simple bar or box ignoring user input?

Posted: 19 Apr 2017 01:24
by phase_change
For an on/off indicator you can use LEDs and set the value to 0 for off and 1 for on.

I might try to make a VU meter using the canvas object if I have enough time.

Re: Show simple bar or box ignoring user input?

Posted: 19 Apr 2017 04:02
by RichG
I looked at the LED's, but they were so tiny for what I needed.

I ended up placing a canvas object in No-Touch mode over top of the displays (Slider, Pads) as suggested by lABl. This is doing what I want because I can touch the area without changing the values.