Does Option Buttons on Android?- I decided to use MobilePick

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
DR White
Posts: 718
Joined: Fri Aug 23, 2013 12:29 pm

Does Option Buttons on Android?- I decided to use MobilePick

Post by DR White » Sat Sep 12, 2015 2:00 pm

I have attached test code of a button with the type of option that works on IOS , but not Android.

Can anyone tell me why?

Thanks,

David
Attachments
Button_Type_Option.livecode.zip
Test stack for Option button
(2.68 KiB) Downloaded 173 times

MaxV
Posts: 1580
Joined: Tue May 28, 2013 2:20 pm
Contact:

Re: Does Option Buttons on Android?- I decided to use Mobile

Post by MaxV » Tue Sep 29, 2015 1:16 pm

You use a option button with this code:

Code: Select all

Global pItemNameFrameOut

on menuPick pItemName1
   switch pItemName1      
   end switch   
   put pItemName1 into pItemNameFrameOut
   --Call Search   
end menuPick
that is the same of:

Code: Select all

Global pItemNameFrameOut

on menuPick pItemName1
   put pItemName1 into pItemNameFrameOut
   --Call Search   
end menuPick
What do you expect?
However global variables are bad, use custom properties instead.
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

Post Reply