J jorquerajm Member Jul 25, 2018 #1 I am starting to program with B4J, I need to fill a ComboBox from a .txt file, please help me including code. Thanks
I am starting to program with B4J, I need to fill a ComboBox from a .txt file, please help me including code. Thanks
PatrikCavina Active Member Licensed User Longtime User Jul 25, 2018 #2 Use TextReader to read txt file and put text in Text propriety of combobox Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jul 25, 2018 #3 It is almost always a mistake to use TextReader and TextWriter. Read text file: B4X: Dim lines As List = File.ReadList(...) cmb.Items.AddAll(lines) Upvote 0
It is almost always a mistake to use TextReader and TextWriter. Read text file: B4X: Dim lines As List = File.ReadList(...) cmb.Items.AddAll(lines)