Hi masters, Is there a way how to enable button1 to button9 to false and only enable button0 to true and after a certain events. button0 and button1 enable=true then after and action again, button0, button1, button2 enable=true till if finish to enable button9.
Really appreciate you help guys!
Many thanks advance.
if firsttime btn1 are only enabled
after an event btn1,btn2 enbled
next btn1,btn2,btn3 enbled
next btn1,btn2,btn3,btn4 enbled
next btn1,btn2,btn3,btn4,btn5 enbled
'put tags In buttons acording To the names : button1 tag =1 etc.
Sub Enable_Buttons(FromB As Int,UntilB As Int)
For i = 0 To Activity.NumberOfViews - 1
If Activity.GetView(i) Is Button Then
If Activity.GetView(i).tag>=FromB AND Activity.GetView(i).tag<=UntilB Then
Activity.GetView(i).Enabled=True
End If
End If
Next
End Sub
I didn't test this function so change the operators if needed