Write and Read File - How do I?
Posted on 2000-03-11
I want to have App1 load a picture, and also have several edit boxes containing data. I want App1 (when you press a button) to create a new file containing the picture, and the data entered in the EditBoxes.
I also want App1 to be able to load that file again with the data in it's correct spot and the picture back into the Timage.
I have worked a little with BlockRead and BlockWrite, but I am unsure how to accomplish the task that I am trying to do.
Just as an example: Let's say that I used this App1, loaded my picture, entered a title, year, etc. Then I hit the button "Create Custom File" and it creates a file with the extension of ".cfl" for Custom File. Later I wanted to edit that file, so I click on "Load Custom File" and it only shows the .cfl files. I choose one and load it, and it shows the picture and data.
Please, any comments would be useful.