BrowseFile

From Planimate Knowledge Base
Revision as of 16:23, 9 January 2009 by Craig.Chandler (talk | contribs) (New page: Browse for a file. Returns non zero if one chosen. $R = BrowseFile($1,$2) <br> $R = File Chosen $1 = File Spec $2 = Save Mode <br> $1 sets an initial file, $2 enables a save-sty...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Browse for a file. Returns non zero if one chosen.

$R = BrowseFile($1,$2)


$R = File Chosen

$1 = File Spec

$2 = Save Mode


$1 sets an initial file,

$2 enables a save-style dialog.


Setting $1 to a file mask (ie *.txt) will cause the browser to filter to the file mask


Use s.LastAccessedDataFile and s.LastAccessedDataFilePath to access the file and full path spec of the file selected.