B4i Question How can I change the text color on a button? [SOLVED] - Didier9    
Jun 24, 2018The title says it all.
I have created red and blue buttons but the text is hardly visible. I cannot find if that can be changed....
link: This looks like the same solution too, thank you!...
link:
Dim b As Button .
Dim ButtonText as int = Colors.White
Dim ButtonColor as int = Colors.Blue...
link: Thank you, I obviously missed it......
Wish This one weird trick to make B4XView.TextColor work for buttons too - Sandman    
Feb 26, 2023This is really a minor thing.
I just noticed that B4XViews for B4i doesn't support textcolor for buttons. But I suspect it could, if it would use the same logic as being used in ButtonSetAttributedText in the thread https://www.b4x.com/android/forum/threads/csbuilder-attributedstrings-builder.79153/ and also https://www.b4x.com/android/forum/threads/button-textcolor.47640/post-302295.
Like I said, a minor thing....
B4i Question GetButtonTextColor ? [Resolved] - stingrae (first post)    
Feb 12, 2019Worked PERFECTLY :)
Thank you...
link: Untested code:
Sub GetButtonTextColor(btn As Button, State As Int) As Int
' state: 0 = normal...
link: Button1's TextColor property to be the same as Button2)
Can someone help me out please? :)
Sub...
B4A Code Snippet [B4X] Light theme B4XDateTemplate - Erel    
Sep 13, 2021   
(15 reactions)
Dialog.TitleBarHeight = 80dip
Dim TextColor As Int = 0xFF5B5B5B
Dialog.BackgroundColor = xui.Color_White
Dialog.ButtonsColor = xui.Color_White
Dialog.ButtonsTextColor = Dialog... is attached.
Edit: code updated to correctly set the arrow buttons text color in B4i....
DateTemplate.DaysInMonthColor = TextColor
DateTemplate.lblMonth.TextColor = TextColor...
link: Your questions are not really related to this thread.
However:
Dialog.ButtonsTextColor = xui...
B4A Library [B4X] [XUI] AS Onboarding [Payware] - Alexander Stolte    
Apr 9, 2025   
(14 reactions)
getNextButtonEnabledTextColor As Int
getNextButtonLabel As B4XView
getNextButtonStyle As String
Call Refresh if you change...) As String
setNextButtonDisabledTextColor (NextButtonDisabledTextColor As Int) As String
setNextButtonEnabledColor (NextButtonEnabledColor As Int) As String
setNextButtonEnabledTextColor (NextButtonEnabledTextColor As Int) As String
setNextButtonStyle (NextButtonStyle As String) As String
setSkipButtonDisabledColor (SkipButtonDisabledColor As Int) As String
setSkipButtonDisabledTextColor...
B4A Library [B4X] [XUI] AS TimePickerDialog based on B4XDialog and AS_TimePicker - Alexander Stolte    
Jul 1, 2025   
(18 reactions).ClockTextColor = xui.Color_White
TimePickerDialog.Theming.DialogButtonTextColor = xui.Color_ARGB(255,20,160,130)
TimePickerDialog.Theming.EditTextColor = xui.Color_White
TimePickerDialog.Theming.EditTextFocusColor = xui.Color_ARGB(255,20,160,130)
TimePickerDialog.Theming.ThumbColor = xui....DialogButtonTextColor = xui.Color_ARGB(255,20,160,130)
TimePickerDialog.Theming.EditTextColor = xui.Color_Black...
ClockTextColor As Int
DialogButtonTextColor As Int
EditTextColor As Int
EditTextFocusColor As Int...
B4A Library [B4X] [XUI] AS FloatingActionButton [Payware] - Alexander Stolte    
Jul 20, 2026   
(29 reactions).
ASFloatingButton_ItemTextProperties
Fields:
BackgroundColor As Int
IsInitialized As Boolean
Tests whether the object has... be Object
FontToBitmap (text As String, IsMaterialIcons As Boolean, FontSize As Float, color As Int...
getMainButtonBackgroundColor As Int
gets or sets the background color of the main button
getOrientation As String...
setMainButtonBackgroundColor (clr As Int) As String
gets or sets the background color of the main button... - the background color of the child buttons
ItemTextProperties As ASFloatingButton_ItemTextProperties...
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...
IsInitialized As Boolean
Tests whether the object has been initialized.
Text As String
TextColor As Int... something
Text As String
Text2
Without TextChanged Event
TextColor
TextField As B4XView...
link: Update
1.23
BugFixes
RevealButton and ClearButton TextColor - Can now also be seen in light mode...
link: isColorDark;
1.2) modify DesignerCreateView;
...
xlbl_ClearButton.TextColor = IIf(isColorDark...
B4A Library [B4X] [XUI] AS FeatureRequest [Payware] - Alexander Stolte    
Jul 20, 2026   
(19 reactions) As String
Clear As String
Clears the list
CreateItemChip (Text As String, BackgroundColor As Int...
getTitleTextColor As Int
getVoteButtonActiveColor As Int
getVoteButtonDeactiveColor As Int
getVoteCountTextColor... (CardBackgroundColor As Int) As String
CardBackgroundColor Property
setDescriptionTextColor (DescriptionTextColor As Int) As String
DescriptionTextColor Property
setHapticFeedback (HapticFeedback...
ThemeChangeTransition Property
setTitleTextColor (TitleTextColor As Int) As String
TitleTextColor Property...
B4A Library [B4X] SpinnerX is a custom B4X library that allows you to create up to 6 different types of spinners. - zed    
Nov 7, 2025   
(32 reactions)
Minus Color: Color of the decrement button
Minus Text Color: Color of the text on the decrement button
Minus Text: Text displayed on the decrement button
Plus Color: Color of the increment button
Plus Text Color: Color of the text on the increment button
Plus Text: Text displayed on the increment button
Value Color: Background color of the displayed value
Value Text Color: Color of the text on the displayed value
Properties
Positioning: Split Horizontal...
Page: 1  
2  
3  
4  
5  
6  
7