grant1842 Active Member Licensed User Longtime User Oct 16, 2013 #1 I am displaying text from a sQlite Database. B4X: DBUtils.ExecuteListView(SQL,"Select PartsNeeded From Radio WHERE Radio = '" & Main.radio & "'" ,Null ,0,lvParts,False) The list view is not display all the text from the database. Some of the text in the database is short and some is long. I tried to pass the text to a scrollview with DBUtils but it wont take it. Im not sure how dbutils is loading the text. So how can I display all text from the field of the data base to the listview (Like a Word Wrap) ?
I am displaying text from a sQlite Database. B4X: DBUtils.ExecuteListView(SQL,"Select PartsNeeded From Radio WHERE Radio = '" & Main.radio & "'" ,Null ,0,lvParts,False) The list view is not display all the text from the database. Some of the text in the database is short and some is long. I tried to pass the text to a scrollview with DBUtils but it wont take it. Im not sure how dbutils is loading the text. So how can I display all text from the field of the data base to the listview (Like a Word Wrap) ?
Erel B4X founder Staff member Licensed User Longtime User Oct 16, 2013 #2 You should use CustomListView class (see CLV.AddText method). It should be simple to change ExecuteListView to work with CustomListView instead. Upvote 0
You should use CustomListView class (see CLV.AddText method). It should be simple to change ExecuteListView to work with CustomListView instead.