Alexander Stolte Expert Licensed User Longtime User May 20, 2019 #1 Hey, if i create a layout with the Form Builder with the type "Short Options" how can i set the "Options" on the code ?
Hey, if i create a layout with the Form Builder with the type "Short Options" how can i set the "Options" on the code ?
jimmyF Active Member Licensed User Longtime User May 20, 2019 #2 B4X: Dim ls As List ls.Initialize ls.AddAll(Array As String("Mon","Tues")) prefdialog.AddShortOptionsItem("test","Test",ls) ls.Add("Wed") prefdialog.SetOptions("test",ls) EDIT Upvote 0
B4X: Dim ls As List ls.Initialize ls.AddAll(Array As String("Mon","Tues")) prefdialog.AddShortOptionsItem("test","Test",ls) ls.Add("Wed") prefdialog.SetOptions("test",ls) EDIT
Alexander Stolte Expert Licensed User Longtime User May 20, 2019 #3 jimmyF said: Dim ls As List ls.Initialize ls.AddAll(Array As String("Mon","Tues")) prefdialog.AddShortOptionsItem("test","Test",ls) Click to expand... Thx Upvote 0
jimmyF said: Dim ls As List ls.Initialize ls.AddAll(Array As String("Mon","Tues")) prefdialog.AddShortOptionsItem("test","Test",ls) Click to expand... Thx
jimmyF Active Member Licensed User Longtime User May 20, 2019 #4 You can also use the SetOptions command on the Short Options B4X: ls.Add("Wed") prefdialog.SetOptions("test",ls) Upvote 0
You can also use the SetOptions command on the Short Options B4X: ls.Add("Wed") prefdialog.SetOptions("test",ls)
Alexander Stolte Expert Licensed User Longtime User May 20, 2019 #5 jimmyF said: ls.Add("Wed") prefdialog.SetOptions("test",ls) Click to expand... Ahh, this is what i want! Upvote 0
jimmyF said: ls.Add("Wed") prefdialog.SetOptions("test",ls) Click to expand... Ahh, this is what i want!