angel_ Well-Known Member Licensed User Longtime User Oct 1, 2020 #1 I am using B4XListTemplate and trying to enable a button like this: B4X: Wait For (Dialog.ShowTemplate(List1, "yes", "no", "cancel") Complete (Result As Int) Dialog.SetButtonState(xui.DialogResponse_Positive, True) But it doesn't work, any idea?
I am using B4XListTemplate and trying to enable a button like this: B4X: Wait For (Dialog.ShowTemplate(List1, "yes", "no", "cancel") Complete (Result As Int) Dialog.SetButtonState(xui.DialogResponse_Positive, True) But it doesn't work, any idea?
Erel B4X founder Staff member Licensed User Longtime User Oct 1, 2020 #2 What are you trying to do? In single selection mode, the list is closed when the user selects an item. You are expected to hide ("") the positive button. Upvote 0
What are you trying to do? In single selection mode, the list is closed when the user selects an item. You are expected to hide ("") the positive button.
angel_ Well-Known Member Licensed User Longtime User Oct 1, 2020 #3 Thank you, I had this: B4X: List1.AllowMultiSelection = True List1.MultiSelectionMinimum = 1 I removed the second line and all buttons are avalaible. Upvote 0
Thank you, I had this: B4X: List1.AllowMultiSelection = True List1.MultiSelectionMinimum = 1 I removed the second line and all buttons are avalaible.