Android Question HOw to get position of Activity.AddMenuItem

Ajws

Member
Licensed User
HI all,

i need to getting position of Activity menu item when i click...

From

B4X:
Sub mnu1_Click
    TabStrip1.ScrollTo(0, True)
End Sub

Sub mnu2_Click
    TabStrip1.ScrollTo(1, True)
End Sub

Sub mnu3_Click
    TabStrip1.ScrollTo(2, True)
End Sub

To ( But it's ERROR )

B4X:
Sub mnu_Click(Position As Int)
    TabStrip1.ScrollTo(Position, True)
End Sub


Help..

Thanks
 
Top