Hello, everyone,
in a (B4X) B4j project I want to change the text color of a button when it is opened. It works in debug mode. Not in the Build Standalone Package. The same with Visible.
Has anyone ever had this?
in a (B4X) B4j project I want to change the text color of a button when it is opened. It works in debug mode. Not in the Build Standalone Package. The same with Visible.
Has anyone ever had this?
B4X:
Private Sub B4XPage_Appear
ShowTable
mIntCount = SQL1.ExecQuerySingleResult("SELECT count(*) FROM tblmonatjahr WHERE monat = '" & mMounth & "' AND jahr = '" & mYear & "'")
If mIntCount = 1 Then
btnNeuerMonat.TextColor = fx.Colors.RGB(255,0,0)
btnNeuerMonat.Enabled = False
' btnNeuerMonat.Visible = False
Else
btnNeuerMonat.TextColor = fx.Colors.RGB(0,0,0)
btnNeuerMonat.Enabled = True
' btnNeuerMonat.Visible = True
End If
End Sub