title: Delphi - how to get a list of all files of directory
body: <p>I am working with delphi, I want a list of all files of a directory when I execute openpicturedialog.       </p>
  
  <blockquote>
    <p>i.e., When open dialog is executed and
    i select one file from it, I want the
    list of all files from the directory
    of selected file.</p>
  </blockquote>
  
  <p>You can even suggest me for getting directory name from <code>FileName</code> property of <code>TOpenDialog</code><br>
  Thank You. </p>