B4J Question Map in B4A - what is it's equilivant in B4J

johnB

Active Member
Licensed User
Longtime User
Hi,

I'm using "Dim m as Map" in B4A to select multiple inputs with ".put" and ".getValueAT" but can't find an equivalent in B4J.

I'd appreciate help on this,
 

johnB

Active Member
Licensed User
Longtime User
WOW, thanks for the prompt reply, I must have misread the Map documentation for B4J

This is the B4J error I'm getting, it's the same code I'm using in B4A.
I presume that I have to DIM it but I don't know the type, some sort of array I guess

Ignore the commented out getValue lines, I did that when I was trying something else. I'll uncomment then when I get the InputMap working
 

Attachments

  • InputMap error.png
    InputMap error.png
    25 KB · Views: 221
Upvote 0

johnB

Active Member
Licensed User
Longtime User
Sorry if I didn't explain my problem properly.
In B4A I have a box (panel if you like) defined using Dim as Map and use InputMap to fill it with 3 prompts/questions. I need the user to be able to select either 1, or 2 or all 3 of the questions. I read that in B4J, with radio buttons, only one radio button can be selected. From the modal form above (threads/34656/#contents), I believe that only one item can be selected at a time.
 
Upvote 0
Top