how do i create a spinner with 3 items, if i select 1 of the item , display a msgbox with label of the current item selected,
can someone show some sample codes?
sorry for my bad english
In Designer place 3 Labels with Text on a Panel.and set the Event Name the same ... ie MenuLabel. Generate a Click event for only 1 label.
Set Panel.Visible property to hide and show menu.
then in the MenuLabel_Click event ...
B4X:
Dim lbl as Label = Sender
Log (lbl.Text) 'or use in message box
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.