May 16, 2023 This view is oriented to the ios stepper view. I spend a lot of time in creating views, like this and to create a high quality view cost a lot of time. If you want to support me and further views, then you can do it here by Paypal. AS_PlusMinus Author: Alexander Stolte Version: 1.00 AS_PlusMinus Events: LeftClick MinusClick PlusClick RightClick Fields: mBase As B4XView Tag As Object Functions: Class_Globals As String DesignerCreateView (Base As Object, Lbl As Label, Props As Map) As String Base type must be Object getBackgroundColor As Int getCornerRadius As Float getDivider As Boolean getDividerColor As Int getDividerWidth As Float getHaloAnimationDuration As Int getHaloColor As Int getHaloEffect As Boolean getHapticFeedback As Boolean getlblMinus As B4XView getlblPlus As B4XView getMinusColor As Int getMinusText As String getMinusTextColor As Int getPlusColor As Int getPlusText As String getPlusTextColor As Int getpnlDivider As B4XView getRound As Boolean Initialize (Callback As Object, EventName As String) As String IsInitialized As Boolean Tests whether the object has been initialized. Refresh As String setBackgroundColor (Color As Int) As String setCornerRadius (CornerRadius As Float) As String setDivider (Show As Boolean) As String setDividerColor (Color As Int) As String setDividerWidth (Width As Float) As String setHaloAnimationDuration (Duration As Int) As String setHaloColor (Color As Int) As String setHaloEffect (Enable As Boolean) As String setHapticFeedback (Enable As Boolean) As String setMinusColor (Color As Int) As String setMinusText (Text As String) As String setMinusTextColor (Color As Int) As String setPlusColor (Color As Int) As String setPlusText (Text As String) As String setPlusTextColor (Color As Int) As String setRound (isRound As Boolean) As String Properties: BackgroundColor As Int CornerRadius As Float Divider As Boolean DividerColor As Int DividerWidth As Float HaloAnimationDuration As Int HaloColor As Int HaloEffect As Boolean HapticFeedback As Boolean lblMinus As B4XView [read only] lblPlus As B4XView [read only] MinusColor As Int MinusText As String MinusTextColor As Int PlusColor As Int PlusText As String PlusTextColor As Int pnlDivider As B4XView [read only] Round As Boolean Changelog 1.00 Release Github: github.com/StolteX/AS_PlusMinus Have Fun Attachments AS PlusMinus Example.zip AS PlusMinus Example.zip 177.9 KB · Views: 716 AS_PlusMinus.b4xlib AS_PlusMinus.b4xlib 2.9 KB · Views: 824 Last edited: Feb 1, 2025 Click to expand...
This view is oriented to the ios stepper view. I spend a lot of time in creating views, like this and to create a high quality view cost a lot of time. If you want to support me and further views, then you can do it here by Paypal. AS_PlusMinus Author: Alexander Stolte Version: 1.00 AS_PlusMinus Events: LeftClick MinusClick PlusClick RightClick Fields: mBase As B4XView Tag As Object Functions: Class_Globals As String DesignerCreateView (Base As Object, Lbl As Label, Props As Map) As String Base type must be Object getBackgroundColor As Int getCornerRadius As Float getDivider As Boolean getDividerColor As Int getDividerWidth As Float getHaloAnimationDuration As Int getHaloColor As Int getHaloEffect As Boolean getHapticFeedback As Boolean getlblMinus As B4XView getlblPlus As B4XView getMinusColor As Int getMinusText As String getMinusTextColor As Int getPlusColor As Int getPlusText As String getPlusTextColor As Int getpnlDivider As B4XView getRound As Boolean Initialize (Callback As Object, EventName As String) As String IsInitialized As Boolean Tests whether the object has been initialized. Refresh As String setBackgroundColor (Color As Int) As String setCornerRadius (CornerRadius As Float) As String setDivider (Show As Boolean) As String setDividerColor (Color As Int) As String setDividerWidth (Width As Float) As String setHaloAnimationDuration (Duration As Int) As String setHaloColor (Color As Int) As String setHaloEffect (Enable As Boolean) As String setHapticFeedback (Enable As Boolean) As String setMinusColor (Color As Int) As String setMinusText (Text As String) As String setMinusTextColor (Color As Int) As String setPlusColor (Color As Int) As String setPlusText (Text As String) As String setPlusTextColor (Color As Int) As String setRound (isRound As Boolean) As String Properties: BackgroundColor As Int CornerRadius As Float Divider As Boolean DividerColor As Int DividerWidth As Float HaloAnimationDuration As Int HaloColor As Int HaloEffect As Boolean HapticFeedback As Boolean lblMinus As B4XView [read only] lblPlus As B4XView [read only] MinusColor As Int MinusText As String MinusTextColor As Int PlusColor As Int PlusText As String PlusTextColor As Int pnlDivider As B4XView [read only] Round As Boolean Changelog 1.00 Release Github: github.com/StolteX/AS_PlusMinus Have Fun