H Hamied Abou Hulaikah Well-Known Member Licensed User Longtime User Sep 16, 2019 #1 Hi @Erel Can you add "mandatory item: yes/no" extra parameter in methods of b4xprefdialog (AddDecimalNumberItem, AddDateItem, AddMultilineTextItem, AddNumberItem, AddNumericRangeItem, AddOptionsItem, AddPasswordItem, AddShortOptionsItem, AddTextItem, AddTimeItem). In form builder this parameter is found, but in programmatically adding items, it is not found. Thank you
Hi @Erel Can you add "mandatory item: yes/no" extra parameter in methods of b4xprefdialog (AddDecimalNumberItem, AddDateItem, AddMultilineTextItem, AddNumberItem, AddNumericRangeItem, AddOptionsItem, AddPasswordItem, AddShortOptionsItem, AddTextItem, AddTimeItem). In form builder this parameter is found, but in programmatically adding items, it is not found. Thank you
Erel B4X founder Staff member Licensed User Longtime User Sep 16, 2019 #2 Moved to the questions forum. 1. The recommended way to build the template is with the builder. 2. Code: Copy p.AddBooleanItem("key10", "aaa") p.GetPrefItem("key10").Required = True Upvote 0
Moved to the questions forum. 1. The recommended way to build the template is with the builder. 2. Code: Copy p.AddBooleanItem("key10", "aaa") p.GetPrefItem("key10").Required = True