Number as text input
Number as text input
Is there any component that permits having a number input like a text fiel, with min/max and two buttons to increase or decrease the value? I have a naive implementatiion with a wxTextCtrl but doesn't work as expected ... Any recommendation or should I write my own?
-
- Super wx Problem Solver
- Posts: 469
- Joined: Tue Jun 20, 2006 6:47 pm
- Contact:
Re: Number as text input
It sounds like the control you're looking for is wxSpinCtrl.
Re: Number as text input
Great, I was surprised that it didn't exist!
Is there a page with a collection of all widgets, so I don't need to ask?
Is there a page with a collection of all widgets, so I don't need to ask?
Re: Number as text input
Build 'widgets' sample; it has a lot of them used there if not all.r4nd0m6uy wrote:Is there a page with a collection of all widgets, so I don't need to ask?
Re: Number as text input
The list of controls is here
https://docs.wxwidgets.org/trunk/group_ ... _ctrl.html
The master list is also useful
https://docs.wxwidgets.org/3.1/modules.html
https://docs.wxwidgets.org/trunk/group_ ... _ctrl.html
The master list is also useful
https://docs.wxwidgets.org/3.1/modules.html