Hi Folks,
trying to understand the treeview example by Derez (http://www.b4x.com/android/forum/threads/treeview.8824/) i have a question.
This is a part of Derez´s code:
Sub lbl_click
Dim lb As Label
Dim tnode As node
lb = Sender
Msgbox("in this sub do what you want with this selected item" & CRLF & lb.Text & CRLF & " For example - color the panel","")
tnode = lb.Tag
tnode.pnl.Color = Colors.blue
' Added by myself
Activity.title = lb.tag
'
End Sub
I added Activity.title = lb.tag showing me all the informations i need.
But this is shown only ONCE.
Why is that the case and what do i have to do showing the information stored the tags everytime i hit the label?
Any hints are welcome... Thx!
Fatman
trying to understand the treeview example by Derez (http://www.b4x.com/android/forum/threads/treeview.8824/) i have a question.
This is a part of Derez´s code:
Sub lbl_click
Dim lb As Label
Dim tnode As node
lb = Sender
Msgbox("in this sub do what you want with this selected item" & CRLF & lb.Text & CRLF & " For example - color the panel","")
tnode = lb.Tag
tnode.pnl.Color = Colors.blue
' Added by myself
Activity.title = lb.tag
'
End Sub
I added Activity.title = lb.tag showing me all the informations i need.
But this is shown only ONCE.
Why is that the case and what do i have to do showing the information stored the tags everytime i hit the label?
Any hints are welcome... Thx!
Fatman