B4A Question color animation used for Btn_LongClick works 1 time only - Erel (first post)    Jun 6, 2016 See Button.SetColorAnimated documentation. You are not calling it correctly: Sub Button1_LongClick Button1.SetColorAnimated(1000, Colors.White, Colors.Red) End Sub https://www.b4x.com/android/forum/pages/results/?query=Button.SetColorAnimated... B4A Library [B4X] [XUI] AS TextFieldAdvanced - Title, Information, Counter, Password, Button, Prefix, Suffix, Icons, Multiline - Alexander Stolte    Aug 25, 2025   (63 reactions) setButtonText2 (Text As String) Without TextChanged Event setClearAndRevealButtonColor (Color As Int) As String...-XX 1.22 Add get and set MaskText 1.23 BugFixes RevealButton and ClearButton TextColor - Can now... Call Refresh if you change something getButtonTextLabel As B4XView getClearAndRevealButtonColor... getRequiredFieldColor As Int getRevealButtonLabel As B4XView getShowClearButton As Boolean Call Refresh if... As Int 1 = Weak 2 = Medium 3 = Strong Refresh As String setBackgroundColor (Color As Int... B4A Question Stop a running animation - mangojack (first post)    Feb 18, 2024   (2 reactions) This worked for me ... Clicking the Button immediately stopped the animation .
Label1.SetColorAnimated(45000, Colors.White, Colors.Red)
Private Sub Button1_Click
Label1.Color = Colors.White 'Or
'Label1.SetColorAnimated(0, Colors.Red, Colors.White)
End Sub
If you still have troubles you might want to show some of your code.... B4A Question How to add image to button with text ? - mr.gedo    May 14, 2020 Hello everyone how can i add image with text to the button like this ? 94046... B4A Question Add (+) Button - brodmuehler    Mar 5, 2017 Hi is there a way to generatethe typical add buttons (plus sign)? https://i.stack.imgur.com/3q3vg.png Thanks a lot. Kind regards René... B4A Library [B4X] XUI Views - Cross platform views and dialogs - Erel    Nov 26, 2025   (85 reactions)   tags: B4X XUI Views Dialogs, xui, XUI Views animated loading indicators. - RoundSlider - A round slider. - SwiftButton - 3d button - AnimatedCounter... / Cancel buttons are hidden. Set to False if you want the user to select Ok or Cancel. V2.45 - New B4XRadioButton control: 110345 new XUIViewsUtils.SetAlpha method V2.44 - XUIViewsUtils.... V2.33 - B4XInputTemplate.SetBorderColor - new method. V2.32 - Fixes a bug introduced in V2.31 related... SetThumbColor and SetCircleColor methods. V2.22 - Fixed issue with B4XInputTemplate in iOS where the decimal... B4A Library [B4X] [XUI] AS FloatingActionButton [Payware] - Alexander Stolte    Dec 16, 2024   (29 reactions) As Boolean) If open = True Then ASFloatingActionButton1.Base.GetView(1).SetRotationAnimated(250,135) Else ASFloatingActionButton1.Base.GetView(1).SetRotationAnimated(250,0... gets or sets the Item Text Properties getMainButtonBackgroundColor As Int gets or sets... As B4XBitmap) As String sets the icon of the main button setMainButtonBackgroundColor (clr As Int) As String gets or sets the background color of the main button setOrientation (orient As String) As String gets... B4A Question How to add a search box when pressing a button in the B4XPage bar - AlfaizDev    Oct 8, 2021 How to add a search box when pressing a button in the B4XPage bar... B4A Question How to click a button to select an image and determine if the image size is greater than 600KB...... - bskotu555    Jan 28, 2025 How to click a button to select an image and determine if the image size is greater than 600KB. If it is, compress it. If not, load it directly into the ImageView1 control.Here is my current code: Private Sub Button1_Click CC.Show("image/*", "Choose image") 'CC.Show("audio/*", "Choose audio file") End Sub Sub CC_Result (Success As Boolean, Dir As String, FileName As String) If Success = True Then Dim TargetSize As Int =600 * 1024... B4A Code Snippet [B4X] B4XDialog with adjustable button widths - Erel    Nov 4, 2025   (22 reactions) + 30dip 'change padding as needed btn.SetLayoutAnimated(0, offset - width - gap...168092 Cross platform code to adjust the button widths based on their text. 'Canvas1 is a global B4XCanvas used for measuring the text (see attached example). Private Sub ArrangeButtons... Next Next End Sub Usage: Private Sub Button1_Click Dim rs As Object = Dialog.Show("Testing", "abcde abc", "fg gf", "hk") ArrangeButtons(Dialog... Page: 1   2   3   4   5   6   7   |