Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

SELECTFILE$ opens SELECTFILE$ opens the Windows file dialogue and returns the file selected

Syntax

SELECTFILE$(DialogueTitle$, Dir$, Filter$)

...

  1. If the dialogue is closed by "Cancel", "NullString" is returned by SELECTFILE$
  2. The file dialogue can also be invoked to assign a value to a string variable using the following meta command (attribute) in the data slot of the parameter:

...

Selection from a list of different types

SELECTFILE$("Open the relevant TeLiTab file or program output...", "C:\Data\", "Telitab Files (*.qdb)|*.qdb|External Process Output Files (*.epo)|*.epo|All Files (*.*)|*.*")

...

Selection from groeps of file types

SELECTFILE$("Open the relevant picture...", "C:\Data\", "Image Files(*.BMP;*.JPG;*.GIF)|*.BMP;*.JPG;*.GIF|All files (*.*)|*.*")

...