Hi!
I am trying to do a example SecondProgram, but when I try to do it doesnt work.
<code>
Sub Process_Globals
'These global variables will be declared once when the application starts.
'These variables can be accessed from all modules.
End Sub
Sub Globals
Dim lbl1 As Label
End Sub
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("main")
End Sub
Sub Activity_Resume
End Sub
Sub Activity_Pause (UserClosed As Boolean)
End Sub
Sub btnClick_Click
Dim Send As Button
Send = Sender
lbl1.Text= lbl1.Text & Send.Tag
Msgbox(Send.Tag,"Aviso2")
End Sub
</code>
I have 3 buttons like example SecondProgram, and i try to take the number has the button like tag.
The problem is that can not get the number because Send.Tag doesnt return anything.
I have 3 buttons and trying to get the numbers to a label like the example.
Any cluees ?
I am trying to do a example SecondProgram, but when I try to do it doesnt work.
<code>
Sub Process_Globals
'These global variables will be declared once when the application starts.
'These variables can be accessed from all modules.
End Sub
Sub Globals
Dim lbl1 As Label
End Sub
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("main")
End Sub
Sub Activity_Resume
End Sub
Sub Activity_Pause (UserClosed As Boolean)
End Sub
Sub btnClick_Click
Dim Send As Button
Send = Sender
lbl1.Text= lbl1.Text & Send.Tag
Msgbox(Send.Tag,"Aviso2")
End Sub
</code>
I have 3 buttons like example SecondProgram, and i try to take the number has the button like tag.
The problem is that can not get the number because Send.Tag doesnt return anything.
I have 3 buttons and trying to get the numbers to a label like the example.
Any cluees ?