A anaylor01 Well-Known Member Licensed User Longtime User Aug 3, 2011 #1 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?
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?
K Kamac Active Member Licensed User Longtime User Aug 3, 2011 #2 It would be better to create whole new layout for that, because MSGbox would have to be giant/you would see max 2 phone numbers on a scroll, and i am unsure if that is even possible. Upvote 0
It would be better to create whole new layout for that, because MSGbox would have to be giant/you would see max 2 phone numbers on a scroll, and i am unsure if that is even possible.
I Inman Well-Known Member Licensed User Longtime User Aug 3, 2011 #3 I think what you are talking about can be done with agraham's Dialogs library Basic4android - Dialogs Upvote 0
I think what you are talking about can be done with agraham's Dialogs library Basic4android - Dialogs
A anaylor01 Well-Known Member Licensed User Longtime User Aug 3, 2011 #4 Yes I am. I just found it. Thanks. Upvote 0
A anaylor01 Well-Known Member Licensed User Longtime User Aug 3, 2011 #5 I haven't been so lucky as to find some code examples though. Upvote 0
agraham Expert Licensed User Longtime User Aug 3, 2011 #6 InputList looks like it would do for what you want. It's a standard keyword like Msgbox, not in an additional library. Upvote 0
InputList looks like it would do for what you want. It's a standard keyword like Msgbox, not in an additional library.
A anaylor01 Well-Known Member Licensed User Longtime User Aug 3, 2011 #7 I was trying to figure out how to handle the back key. Upvote 0
A anaylor01 Well-Known Member Licensed User Longtime User Aug 3, 2011 #9 I am getting this error. "LastException java.lang.RuntimeException: Cannot parse: -6.0 as boolean" Here is my code: Code: 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
I am getting this error. "LastException java.lang.RuntimeException: Cannot parse: -6.0 as boolean" Here is my code: Code: 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
A anaylor01 Well-Known Member Licensed User Longtime User Aug 3, 2011 #11 How do I get the length of a list item? like list1.get(1) Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Aug 4, 2011 #12 What do you mean with the length? Is it a string value? If yes then: Code: Dim s As String s = list1.Get(1) s.length Upvote 0
What do you mean with the length? Is it a string value? If yes then: Code: Dim s As String s = list1.Get(1) s.length