I´m using RAPA GUI and it´s very great, i need check if the user release the
thumb of the slider, but i don´t see how do it, can you help me?
in the xml i´m using this piece of code
...
<slider id="sliderro" min="0" max="360" level="0" notify="level; release"/>
...
and in the code part
Function p_EventFunc(msg)
Switch msg.action
Case "RapaGUI"
Switch msg.attribute
Case "release":
Switch msg.id
Case "sliderro":
debugprint("blahblah")
....
how to use slider.release ?
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: how to use slider.release ?
The attribute names are case sensitive, so you have to use:
Code: Select all
Case "Release"
-
- Posts: 267
- Joined: Fri Feb 24, 2012 9:34 am
Re: how to use slider.release ?
perfect, is working now, thanks