Request: Numericbutton class

Discuss GUI programming with the MUI Royale plugin here
Post Reply
User avatar
jPV
Posts: 277
Joined: Sat Mar 26, 2016 10:44 am
Location: RNO
Contact:

Request: Numericbutton class

Post by jPV » Mon Apr 24, 2017 5:54 pm

I think that support for Numericbutton.mui could be useful sometimes :)

p-OS
Posts: 110
Joined: Mon Nov 01, 2010 11:56 pm

Re: Request: Numericbutton class

Post by p-OS » Mon Apr 24, 2017 6:06 pm

I agree. and as it is just a subclass of with no new attributes It migth be easy to add.

User avatar
airsoftsoftwair
Posts: 3157
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Request: Numericbutton class

Post by airsoftsoftwair » Thu Apr 27, 2017 4:59 pm

Code: Select all

- New: Added support for Numericbutton MUI class; it uses exactly the same attributes
  as Slider class

User avatar
jPV
Posts: 277
Joined: Sat Mar 26, 2016 10:44 am
Location: RNO
Contact:

Re: Request: Numericbutton class

Post by jPV » Sun Aug 27, 2017 10:24 am

airsoftsoftwair wrote: it uses exactly the same attributes as Slider class
Stringify doesn't seem to work with it, should it? Could it?

Also could we get a Release attribute for the Slider class to MUI Royale? Seems there's such in RapaGUI and that would be really handy for MUI Royale too...

User avatar
r-tea
Posts: 123
Joined: Tue Feb 16, 2016 11:48 pm
Location: Zdzieszowice, Poland
Contact:

Re: Request: Numericbutton class

Post by r-tea » Sun Aug 27, 2017 8:42 pm

airsoftsoftwair wrote:

Code: Select all

- New: Added support for Numericbutton MUI class; it uses exactly the same attributes
  as Slider class
Thank you Andreas! :)

User avatar
airsoftsoftwair
Posts: 3157
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Request: Numericbutton class

Post by airsoftsoftwair » Tue Aug 29, 2017 6:35 pm

Code: Select all

- Fix: Slider.Stringify didn't work for Numericbutton class
Slider.Release isn't necessary. You can just use Slider.Pressed for that and check when its trigger value is FALSE.

User avatar
lazi
Posts: 347
Joined: Thu Feb 24, 2011 11:08 pm

Re: Request: Numericbutton class

Post by lazi » Tue Aug 27, 2019 9:34 pm

I would be greatful if you could help me on numericbutton notify.
I can simply get no event even if set notify to "Pressed".

<numericbutton id="page" notify="Pressed" Min="0" Max="100"/>

I found numericbutton a bit clumsy at display edges, but it seems to be a MUI 'feature'.

User avatar
lazi
Posts: 347
Joined: Thu Feb 24, 2011 11:08 pm

Re: Request: Numericbutton class

Post by lazi » Tue Aug 27, 2019 10:06 pm

Answare myself :)

notify="Level"

Maybe a change in the guide would make it more cleaner at the Slider.Level button:
"Set/get and learn about current slider level"

User avatar
airsoftsoftwair
Posts: 3157
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Request: Numericbutton class

Post by airsoftsoftwair » Sat Aug 31, 2019 1:48 pm

lazi wrote:
Tue Aug 27, 2019 10:06 pm
Maybe a change in the guide would make it more cleaner at the Slider.Level button:
"Set/get and learn about current slider level"
That makes it too complicated :) You can see if notification is supported in the applicability section...

Post Reply