phd.khosravi
New Member
hi every one
how can i use a code that One of the keys to the unseen
i mean like button3,button5,button7 be visible when u start program
B4X:
Sub Globals
'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
Dim Button(9) As Button
End Sub
B4X:
Sub Activity_Create(FirstTime As Boolean)
'Do not forget to load the layout file created with the visual designer. For example:
For i = 1 To 8
Button(i).Initialize("button"&i)
Activity.AddView(Button(i),5%x,i*11%y,65%x,10%y)
Button(i).Text="number"&i
Button(i).Visible=False
Next
End Sub
how can i use a code that One of the keys to the unseen
i mean like button3,button5,button7 be visible when u start program