Android Question Panel1.Visible=True

lukeeyh

New Member
Hey b4ppc,
I have a problem with my coding what i want is

button 11 to make my panel visible
and then
button 13 to make the panel invisible

Code: Copy
Sub Globals
Dim Panel1 As Panel
End Sub

Code: Copy
Sub Button11_Click
    Panel1.Initialize("")
    Panel1.Visible=True
End Sub

Code: Copy
Sub Button13_Click
    Panel1.Initialize("")
    Panel1.Visible=False
End Sub

Panel1:
Parent: Activity

Button11:
Parent: Activity

Button13:
Parent: Panel1

If you can help please do
If this is in the wrong section please move it to correct section
Thanks in advance
 
You inizialize the panel but don't add to the activity. When you click the button the code doesn't finds the panel.
 
Upvote 0
Back
Top