Why does this work on child form but not mainform ?
Posted on 2011-03-12
The second line of this procedure loads a picture into a TImage on this child form. The third line should do the same on the parent form, but doesn't. Why, and what is the best fix ? FilePath is a String.
procedure TForm1.FileListBox1Click(Sender: TObject);
FilePath := FileListBox1.FileName;