Jul 2, 2016 Replies: 4 This is a wrap for this github project. Requirement: B4A 6+ as the lib is using an aar NumericEdittext Author: DonManfred (wrapper) Version: 1 NumericEditText Events: onchanged (param As Double) Fields: ba As BA Methods: BringToFront DesignerCreateView (base As PanelWrapper, lw As LabelWrapper, props As Map) Initialize (EventName As String) Invalidate Invalidate2 (arg0 As Rect) Invalidate3 (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int) IsInitialized As Boolean RemoveView RequestFocus As Boolean SendToBack SetBackgroundImage (arg0 As Bitmap) SetColorAnimated (arg0 As Int, arg1 As Int, arg2 As Int) SetLayout (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int) SetLayoutAnimated (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int, arg4 As Int) SetVisibleAnimated (arg0 As Int, arg1 As Boolean) clear Clear text field and replace it with default value set in {@link #setDefaultNumericValue} if any setDefaultNumericValue (defaultNumericValue As Double, defaultNumericFormat As String) Set default numeric value and how it should be displayed, this value will be used if {@link #clear} is called defaultNumericValue: numeric value defaultNumericFormat: display format for numeric value Properties: Background As Drawable Color As Int [write only] Enabled As Boolean Height As Int Left As Int NumericValue As Double [read only] Return numeric value repesented by the text field Parent As Object [read only] Tag As Object Top As Int Visible As Boolean Width As Int Attachments NumericEdittextEx.zip NumericEdittextEx.zip 7.8 KB · Views: 906 NumericEdittextV1.0.zip NumericEdittextV1.0.zip 9.4 KB · Views: 928 Last edited: Jul 2, 2016 Click to expand...
This is a wrap for this github project. Requirement: B4A 6+ as the lib is using an aar NumericEdittext Author: DonManfred (wrapper) Version: 1 NumericEditText Events: onchanged (param As Double) Fields: ba As BA Methods: BringToFront DesignerCreateView (base As PanelWrapper, lw As LabelWrapper, props As Map) Initialize (EventName As String) Invalidate Invalidate2 (arg0 As Rect) Invalidate3 (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int) IsInitialized As Boolean RemoveView RequestFocus As Boolean SendToBack SetBackgroundImage (arg0 As Bitmap) SetColorAnimated (arg0 As Int, arg1 As Int, arg2 As Int) SetLayout (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int) SetLayoutAnimated (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int, arg4 As Int) SetVisibleAnimated (arg0 As Int, arg1 As Boolean) clear Clear text field and replace it with default value set in {@link #setDefaultNumericValue} if any setDefaultNumericValue (defaultNumericValue As Double, defaultNumericFormat As String) Set default numeric value and how it should be displayed, this value will be used if {@link #clear} is called defaultNumericValue: numeric value defaultNumericFormat: display format for numeric value Properties: Background As Drawable Color As Int [write only] Enabled As Boolean Height As Int Left As Int NumericValue As Double [read only] Return numeric value repesented by the text field Parent As Object [read only] Tag As Object Top As Int Visible As Boolean Width As Int
MarcoRome Expert Licensed User Longtime User Jul 2, 2016 #3 Hey Don. You came back to develop a lot the great libraries Thank you for your hard work.
G gdeppi Member Licensed User Longtime User Jul 4, 2016 #4 Hi @DonManfred, I tested NumericEdittext, but it don't fire the onchanged event. Moreover it don't check the default system decimal numbers, there is a way to manual set the max decimal numbers? Thank You and best Regards, Giuseppe
Hi @DonManfred, I tested NumericEdittext, but it don't fire the onchanged event. Moreover it don't check the default system decimal numbers, there is a way to manual set the max decimal numbers? Thank You and best Regards, Giuseppe
bl4ck4nt Member Licensed User Longtime User Feb 17, 2017 #5 Hi @DonManfred , i try NumericEditText event onchanged not fired...? thanx you...