J Junctbr Member Nov 28, 2018 #1 Hello guys. Can i ask how to put a data in a combobox? Just need to pick of it's gender (Male/Female) Thank you ^_^
Hello guys. Can i ask how to put a data in a combobox? Just need to pick of it's gender (Male/Female) Thank you ^_^
DonManfred Expert Licensed User Longtime User Nov 28, 2018 #2 Code: Copy spinner1.Add("Male") spinner1.Add("Female") Upvote 0
LucaMs Expert Licensed User Longtime User Nov 28, 2018 #3 I think that in this case a ToggleButton is better. Upvote 0
LucaMs Expert Licensed User Longtime User Nov 28, 2018 #4 Another way to fill the spinner: Spinner1.AddAll(Array as String("Male", "Female")) Upvote 0
J Junctbr Member Nov 28, 2018 #5 LucaMs said: Another way to fill the spinner: Spinner1.AddAll(Array as String("Male", "Female")) Click to expand... Should I put it Here? Sub spSex_ItemClick (Position As Int, Value As Object) spSex.AddAll(Array As String("Male", "Female") End Sub Upvote 0
LucaMs said: Another way to fill the spinner: Spinner1.AddAll(Array as String("Male", "Female")) Click to expand... Should I put it Here? Sub spSex_ItemClick (Position As Int, Value As Object) spSex.AddAll(Array As String("Male", "Female") End Sub
DonManfred Expert Licensed User Longtime User Nov 28, 2018 #6 no, in activity_create after you load the layoout. In the sub spSex_ItemClick you get the Selected item... Value is a String and the String contains "Male" for ex. Upvote 0
no, in activity_create after you load the layoout. In the sub spSex_ItemClick you get the Selected item... Value is a String and the String contains "Male" for ex.
J Junctbr Member Nov 28, 2018 #7 DonManfred said: no, in activity_create after you load the layoout. In the sub spSex_ItemClick you get the Selected item... Value is a String and the String contains "Male" for ex. Click to expand... Thank you, dude ^^ Upvote 0
DonManfred said: no, in activity_create after you load the layoout. In the sub spSex_ItemClick you get the Selected item... Value is a String and the String contains "Male" for ex. Click to expand... Thank you, dude ^^
BillMeyer Well-Known Member Licensed User Longtime User Nov 28, 2018 #8 @DonManfred DonManfred Dude Upvote 0
AnandGupta Expert Licensed User Longtime User Nov 30, 2018 #9 BillMeyer said: @DonManfred DonManfred Dude Click to expand... He means "Master" (language localization is different) Regards, Anand Upvote 0
BillMeyer said: @DonManfred DonManfred Dude Click to expand... He means "Master" (language localization is different) Regards, Anand
DonManfred Expert Licensed User Longtime User Nov 30, 2018 #10 AnandGupta said: He means "Master" Click to expand... I do accept both from him (Master/Dude) Upvote 0