Request: Numericbutton class

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

Request: Numericbutton class

Post by jPV »

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

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

Re: Request: Numericbutton class

Post by p-OS »

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

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

Re: Request: Numericbutton class

Post by airsoftsoftwair »

Code: Select all

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

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

Re: Request: Numericbutton class

Post by jPV »

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: 129
Joined: Tue Feb 16, 2016 11:48 pm
Location: Zdzieszowice, Poland
Contact:

Re: Request: Numericbutton class

Post by r-tea »

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: 4206
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Request: Numericbutton class

Post by airsoftsoftwair »

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: 549
Joined: Thu Feb 24, 2011 11:08 pm

Re: Request: Numericbutton class

Post by lazi »

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: 549
Joined: Thu Feb 24, 2011 11:08 pm

Re: Request: Numericbutton class

Post by lazi »

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: 4206
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Request: Numericbutton class

Post by airsoftsoftwair »

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