

FileName) Rewrite (OutputFile) try // save listbox data to file for I : 0 to. I would like to import those lines into the checked listbox as items and work with their values later (read them etc.). Ignoring the fact that Delphis string lists can autoamtically save. To be accurate every line contains Name, Surname, and number values separated with spaces. This will work very well.without problems. Support saving changes made to the empty side of a file comparison. I need to import whole lines from text file into checked listbox as items. L.Items.Add ((TempFile.FileName)+' '+inttostr(l.Count+1)+' '+AnsiUppercase(TempFile.Artist)+' '+AnsiUppercase(TempFile.Title)+' '+TempFile.DurationTime+' '+' '+BPM+' '+(inttostr(TempFile.DurationInt))+' '+TempFile.Typ) If ((FileExists(o))and (TempFile.CheckValueFileTyp(o)= true))then begin Delphi Listbox Save To File Code That Should In the forms OnCloseQuery, I have have a line of code that should save the strings to a file (MyFile.Dat) in the OnCreate event I load the data back into the ListBox if FileExists(MyFile.Dat) then (MyFile.Dat) Heres the problem. This example requires that two ListBox controls, named listBox1 and listBox2, have been added. TempFile := TCSTAudioFileReader.Create(nil) If an item is found in the other ListBox, the item is selected. I'm using Delphi 10.4 I'm having a very silly problem restoring i'm trying to store or save tlistbox index that select by the user (ItemIndex) and restore it later on create event the save work just fine i think the problem with restore. Procedure LoadAudioFiles (o:Tstrings L:TLMDListBox)
