CalcIt Commands

SelectFile(InitialDir, Filter='All Files (*.*)|*.*', MultiSelect=false)

Selects a file from disk. Returns the file selected or empty string if nothing is selected.

  • InitialDir. The initial directory to start the selection
  • Filter. Optional. Filter of the file types to select based on their filename extension. Is a delimited text string with pairs of filter description/filter, using symbol | for delimiter. e.g.
    Text files (*.txt)|*.TXT|Pascal files (*.pas)|*.PAS'
  • MultiSelect. Optional. For selecting more than one file. The files are returned in the form of delimited text using the default delimiter.

See also GetSaveFile, SelectDir

Go Back