Msgbox input dialog with radio buttons

anaylor01

Well-Known Member
Licensed User
Longtime User
I thought I saw a post with various dialog/msgbox examples but I can't seem to find it. What I am trying to do is create a msgbox where the user can select a phone number when there are more than one phone number for a contact. I want to put radio buttons on it. Anyone know what I am talking about?
 

anaylor01

Well-Known Member
Licensed User
Longtime User
I am getting this error. "LastException java.lang.RuntimeException: Cannot parse: -6.0 as boolean"
Here is my code:
B4X:
   If p2.Length > 0 AND p3.Length = 0 Then
      list1.Add(p1)
      list1.Add(p2)
      result=InputList(list1,"Select Number to call",-1)
      If result -3 Then 
         Return 
         Else
         itemname=list1.get(result)
      End If
 
Upvote 0
Top