Hi Guys...
I'm not much of a Lib creator, but since B4A offers the possibility of compiling a class into a library, and me needing such a view, I created a very simple, yet fully functional Numeric Up and Down custom view.
As the name suggests, It's a simple incremental/decremental view witch can either be added by code or in the designer.
I share with you both the compiled library and the class. If you add functionality to the class, please do share...
Special Thanks to @Filippo for creating years ago the first version of this view, and to @klaus for making me see the forest beyond those dahm trees!
[EDIT] Ver. 1.15 - A small code error that prevented the view to be recognized by the designer is now hopefully fixed. Both Minus and Plus signs are now managed by canvas allowing for bigger and more readable buttons.
[EDIT] Ver. 1.5 - New "AddToParent" keyword to enable adding the view by code
I'm not much of a Lib creator, but since B4A offers the possibility of compiling a class into a library, and me needing such a view, I created a very simple, yet fully functional Numeric Up and Down custom view.
As the name suggests, It's a simple incremental/decremental view witch can either be added by code or in the designer.
I share with you both the compiled library and the class. If you add functionality to the class, please do share...
Special Thanks to @Filippo for creating years ago the first version of this view, and to @klaus for making me see the forest beyond those dahm trees!
[EDIT] Ver. 1.15 - A small code error that prevented the view to be recognized by the designer is now hopefully fixed. Both Minus and Plus signs are now managed by canvas allowing for bigger and more readable buttons.
[EDIT] Ver. 1.5 - New "AddToParent" keyword to enable adding the view by code
Attachments
Last edited: