red30 Well-Known Member Licensed User Longtime User Feb 5, 2020 #1 I am trying to create a costume InputList, because in fx.InputList you cannot change the names of the buttons. While I do not understand how fx.InputList works. Maybe someone had experience creating custom Msgbox / InputList? Can someone share the code or explain how to do it right? Is it possible to create a costume Msgbox / InputList so that on its output I see which button is pressed (ok, cancel, close), as well as which item is selected from the list? I saw this example: https://www.b4x.com/android/forum/threads/modal-dialogs.34656/ It simply returns a value from the list, but the button presses are not processed.
I am trying to create a costume InputList, because in fx.InputList you cannot change the names of the buttons. While I do not understand how fx.InputList works. Maybe someone had experience creating custom Msgbox / InputList? Can someone share the code or explain how to do it right? Is it possible to create a costume Msgbox / InputList so that on its output I see which button is pressed (ok, cancel, close), as well as which item is selected from the list? I saw this example: https://www.b4x.com/android/forum/threads/modal-dialogs.34656/ It simply returns a value from the list, but the button presses are not processed.
Erel B4X founder Staff member Licensed User Longtime User Feb 6, 2020 #2 The correct solution is to use B4XDialog with B4XListTemplate. It is very customizable and you can create your own layout if you like. Upvote 0
The correct solution is to use B4XDialog with B4XListTemplate. It is very customizable and you can create your own layout if you like.