Hi
I have a problem: i try to make an app that asks questions to user with check button after that a label is enabled and made visible according to the answer, and also a button that refresh the activity to try again when answer is false, but then even before answering if you clique on the blank place where label will appear the next activity will be executed !!! what should i do to enable the code only after answering the question actually i am just playing with
according to the situation !
I have a problem: i try to make an app that asks questions to user with check button after that a label is enabled and made visible according to the answer, and also a button that refresh the activity to try again when answer is false, but then even before answering if you clique on the blank place where label will appear the next activity will be executed !!! what should i do to enable the code only after answering the question actually i am just playing with
B4X:
Label2.Enabled=False
Label2.Visible=False
'and
Label2.Enabled=True
Label2.Visible=True
'and to reload the activity
Sub ImageView8_Click
StartActivity("Page1")
Activity_Create(True)
End Sub
Last edited: