Olaan Expert Licensed User Longtime User Apr 23, 2022 #1 I have studied the code from one of B4X members ,but I don't know the expert apply to use. I would like to have some example for study. Have someone to help me ,please? Attachments MyCheckList.zip MyCheckList.zip 11.1 KB · Views: 350
I have studied the code from one of B4X members ,but I don't know the expert apply to use. I would like to have some example for study. Have someone to help me ,please?
LucaMs Expert Licensed User Longtime User Apr 23, 2022 #2 It would be simpler (and perhaps more correct) if you used RadioButtons in a Panel. Anyway, fast because I'm late... attachment. Attachments MyCheckListLM.zip MyCheckListLM.zip 11.2 KB · Views: 400 Upvote 0
It would be simpler (and perhaps more correct) if you used RadioButtons in a Panel. Anyway, fast because I'm late... attachment.
LucaMs Expert Licensed User Longtime User Apr 23, 2022 #3 I am also attaching a version with Radiobuttons. I also changed other things: modified (simplified) the "wait for" closing the dialog. the opening call of the dialog returns the selected value (instead of having to analyze the Map). If you still prefer Checkboxes, you can take advantage of these changes. Attachments WithRadiobuttons.zip WithRadiobuttons.zip 10.9 KB · Views: 377 Upvote 0
I am also attaching a version with Radiobuttons. I also changed other things: modified (simplified) the "wait for" closing the dialog. the opening call of the dialog returns the selected value (instead of having to analyze the Map). If you still prefer Checkboxes, you can take advantage of these changes.
klaus Expert Licensed User Longtime User Apr 23, 2022 #4 What is exactly the purpose of you class ? Only one selection possible or multi selection ? Anyway, I would have done it differently as a CustomView, which you can add in the Designer and without any Wait For. . Upvote 0
What is exactly the purpose of you class ? Only one selection possible or multi selection ? Anyway, I would have done it differently as a CustomView, which you can add in the Designer and without any Wait For. .
Olaan Expert Licensed User Longtime User Apr 25, 2022 #5 klaus said: What is exactly the purpose of you class ? Only one selection possible or multi selection ? Anyway, I would have done it differently as a CustomView, which you can add in the Designer and without any Wait For. . Click to expand... Thank you ,LucaMs and you Really, My purpose is multi selection ,however LucaMs helped me learn the other cases. I don't know the code which I get how to apply after I click OK button,it is shortly code.(Not enough for learning) Upvote 0
klaus said: What is exactly the purpose of you class ? Only one selection possible or multi selection ? Anyway, I would have done it differently as a CustomView, which you can add in the Designer and without any Wait For. . Click to expand... Thank you ,LucaMs and you Really, My purpose is multi selection ,however LucaMs helped me learn the other cases. I don't know the code which I get how to apply after I click OK button,it is shortly code.(Not enough for learning)