I have many labels in panel that contain numbers
I need to user when touch label and when user slide to left or right,i can understand how label is touching
Example user maybe select number from 1 to 10 so user touch number 1 and slide to number 10
Please answer to me guys
I apologize to Erel for last problems
Sub pnl_Touch(Action As Int,X As Float,Y As Float)
Dim NumLab As Int = X /40dip ' if labels are 40dip
Dim MyLabel As Label = pnl..getview(0) ' If are present only label
Dim Tag As String = MyLabel.Tag
Log("Clicked Label number : " & Tag)
End Sub
Assuming there are only labels in the panel
and one under the other
Sub pnl_Touch(Action As Int,X As Float,Y As Float)
Dim NumLab As Int = X /40dip ' if labels are 40dip
Dim MyLabel As Label = pnl..getview(0) ' If are present only label
Dim Tag As String = MyLabel.Tag
Log("Clicked Label number : " & Tag)
End Sub
Assuming there are only labels in the panel
and one under the other
My friend you mistake
When i touch on label,Touch Event didn't raise and so i cannot detect touch
When i touch part of panel that not exist label,Touch Event raised