M Mahares Expert Licensed User Longtime User Apr 19, 2020 #2 new_danoptic said: How can I set the default value of the boolean field? Click to expand... B4X: prefdialog.AddTextItem("First", "First Name") prefdialog.AddTextItem("Last", "Last Name") prefdialog.AddDateItem("Date", "Date") prefdialog.AddTimeItem("Time", "Time") prefdialog.AddBooleanItem("Alive","Alive") '<---------See B4X: Dim Data As Map = CreateMap("First": "","Last": "", "Date":DateTime.Now, "Time": Null, "Alive": True) '<---------Here Upvote 0
new_danoptic said: How can I set the default value of the boolean field? Click to expand... B4X: prefdialog.AddTextItem("First", "First Name") prefdialog.AddTextItem("Last", "Last Name") prefdialog.AddDateItem("Date", "Date") prefdialog.AddTimeItem("Time", "Time") prefdialog.AddBooleanItem("Alive","Alive") '<---------See B4X: Dim Data As Map = CreateMap("First": "","Last": "", "Date":DateTime.Now, "Time": Null, "Alive": True) '<---------Here