R Robert_Poland Member Licensed User Aug 7, 2016 #1 Hello it needs hints how to make a button display depending on whether the text edit is something typed if the button is visible, if not then you can not see the button thx
Hello it needs hints how to make a button display depending on whether the text edit is something typed if the button is visible, if not then you can not see the button thx
DonManfred Expert Licensed User Longtime User Aug 7, 2016 #2 Set the button to invisible at designtime Code: Copy Sub EditText1_TextChanged (Old As String, New As String) If New.Trim <> "" Then Button1.Visible = True Else Button1.Visible = False End If End Sub Upvote 0
Set the button to invisible at designtime Code: Copy Sub EditText1_TextChanged (Old As String, New As String) If New.Trim <> "" Then Button1.Visible = True Else Button1.Visible = False End If End Sub
R Robert_Poland Member Licensed User Aug 7, 2016 #3 It works great thanks Now I have to combine so that the entry in activity 1 caused the activation button on the activity of 2 Upvote 0
It works great thanks Now I have to combine so that the entry in activity 1 caused the activation button on the activity of 2
Erel B4X founder Staff member Licensed User Longtime User Aug 8, 2016 #4 This will also work: Code: Copy Sub EditText1_TextChanged (Old As String, New As String) Button1.Visible = New.Trim <> "" End Sub Upvote 0
This will also work: Code: Copy Sub EditText1_TextChanged (Old As String, New As String) Button1.Visible = New.Trim <> "" End Sub
R Robert_Poland Member Licensed User Aug 8, 2016 #5 THX for the assistance work ... I did so that data from the activity of 1 is written to file and in the activity of two check whether these data as if the button displays Upvote 0
THX for the assistance work ... I did so that data from the activity of 1 is written to file and in the activity of two check whether these data as if the button displays