A anaylor01 Well-Known Member Licensed User Longtime User Jan 22, 2014 #1 I have a button that opens the map inputmap that has checkboxes and I want to save their selections after they make their changes and click the OK button. Is there an action associated with the inputmap when the user clicks ok after they are done checking the boxes they want? Last edited: Jan 22, 2014
I have a button that opens the map inputmap that has checkboxes and I want to save their selections after they make their changes and click the OK button. Is there an action associated with the inputmap when the user clicks ok after they are done checking the boxes they want?
Erel B4X founder Staff member Licensed User Longtime User Jan 23, 2014 #2 It is a modal dialog. The code will block until the dialog is closed: Code: Copy Sub Activity_Create(FirstTime As Boolean) Dim m As Map m.Initialize m.Put("opt1", False) m.Put("opt2", False) m.Put("opt3", False) InputMap(m, "Select items") If m.Get("opt2") = True Then '... End If End Sub Upvote 0
It is a modal dialog. The code will block until the dialog is closed: Code: Copy Sub Activity_Create(FirstTime As Boolean) Dim m As Map m.Initialize m.Put("opt1", False) m.Put("opt2", False) m.Put("opt3", False) InputMap(m, "Select items") If m.Get("opt2") = True Then '... End If End Sub