Android Question B4XListTemplate enable buttons

angel_

Well-Known Member
Licensed User
Longtime User
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?
 

angel_

Well-Known Member
Licensed User
Longtime User
Thank you, I had this:

B4X:
List1.AllowMultiSelection = True
List1.MultiSelectionMinimum = 1

I removed the second line and all buttons are avalaible.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…