khosrwb Active Member Licensed User Longtime User Aug 1, 2015 #1 hi how can I save a listview when I closed app ? and when run app later , load listveiw items for me???
hi how can I save a listview when I closed app ? and when run app later , load listveiw items for me???
DonManfred Expert Licensed User Longtime User Aug 1, 2015 #2 You cant serialize a listview. Create your own list when filling/changing the listview and store this list then. Use a List or a Map i would suggest. Upvote 0
You cant serialize a listview. Create your own list when filling/changing the listview and store this list then. Use a List or a Map i would suggest.
khosrwb Active Member Licensed User Longtime User Aug 1, 2015 #3 excuse me how can I save a list ? Upvote 0
M Mahares Expert Licensed User Longtime User Aug 1, 2015 #4 khosrwb said: how can I save a list ? Click to expand... Example to save a list to a file: Code: File.WriteList(File.DirRootExternal,"MyFile.txt",MyList) Example to read the list later from the file: Code: MyList = File.ReadList(File.DirRootExternal,"MyFile.txt") Upvote 0
khosrwb said: how can I save a list ? Click to expand... Example to save a list to a file: Code: File.WriteList(File.DirRootExternal,"MyFile.txt",MyList) Example to read the list later from the file: Code: MyList = File.ReadList(File.DirRootExternal,"MyFile.txt")
Cableguy Expert Licensed User Longtime User Aug 1, 2015 #5 @khosrwb , you really should NOT make several Posts asking the same question, specially only a few minutes apart. Re-use the first post, by replying to you own post, it regains visibility. It is not the first time you have used this approach, and it is not by cluttering the forum that your questions will be answered faster! Upvote 0
@khosrwb , you really should NOT make several Posts asking the same question, specially only a few minutes apart. Re-use the first post, by replying to you own post, it regains visibility. It is not the first time you have used this approach, and it is not by cluttering the forum that your questions will be answered faster!
khosrwb Active Member Licensed User Longtime User Aug 1, 2015 #6 thanks Mahares my English is not good . That's why I did not quite understand what you mean.((cableguy)) Please tell more simple sentences. My question is wrong? or you tell me : no ask own quastion , in the own post. or ..... Upvote 0
thanks Mahares my English is not good . That's why I did not quite understand what you mean.((cableguy)) Please tell more simple sentences. My question is wrong? or you tell me : no ask own quastion , in the own post. or .....