PickFile

Prev Next Home Home Table Of Contents Index

PickFile (FileSpec,column,row,height) : String

Allows you to display a directory of files on the screen from a menu. Normally used to display a list of files for the user to choose from. Could be used in a command to load a word processor or database. Allows selection of the file to be loaded by the word processor or database program. The filename can be passed to a percent variable placed in the batch file executing the application. See example files on MarxMenu distribution disk.


Example:
FileName = PickFile('C:\WORDSTAR\*.DOC',3,4,17)

Notice: The use of a variable with a name that starts with a '%' allows the choice to be passed to a batch file for execution.

The three numbers represent the column and row of the upper left corner of the box and the height of the box. All DrawBox commands can be used here to control the looks of the PickFile window. This includes the BoxHeader command.

Category: String

Prev Next Home Home Table Of Contents Index

Sponsors
Shopping
Forum
Forum
email
EMail
Index
Index
Home
Home