HTBasic Help
×
Menu
Index

FILE Dialog

- Prompts the operator to enter a filename
 
     
 

Example Program

See FILE Dialog for an example program that produces a display similiar to that shown above.
 
See the following program for another example using the FILE dialog.
 
         Dialogs Tests
 

Remarks

 
The FILE dialog provides interactive traversal of existing directories and files.
 
 

Attributes

 
 
ttribute
Type
Allowed Values
Default
 
Numeric
Any valid BASIC pen number (0-255)
System dependent [2]
 
Numeric
Any valid index into the DIALOG BUTTONS array
0        
 
String array
Any valid string array
A two-element array that contains OK.and Cancel
 
String
An existing, readable directory
current MSI directory
 
String
Font [1]
 
 
Numeric
Any integer number (of pixels)
Autosizing
 
String
"LEFT", "CENTER"
"CENTER"
 
Numeric
0,1
1(maximizable, button
appears in title bar)
 
Numeric
0,1
0(not minimizable, button
does not appear in title bar)
 
Numeric
0,1
1
 
PATTERN
String
Any legal wildcard pattern
* (display all files in current directory)
 
Numeric
Any valid BASIC pen number (0-255)
System dependent [2]
 
Numeric
0,1
1(resizable, special
border appears around
the dialog)
 
Numeric
0,1
0(do not restore the
screen)
 
String
Any
Null string
 
String
Any valid string
FILE
 
String
Any valid string
None
 
String
Any valid string
Current version
 
Numeric
Any integer number (of pixels)
Autosizing
 
Numeric
Any integer, number of pixels from 0,0 [3]
Autoplacement
 
Numeric
Any integer, number of pixels from 0,0 [3]
Autoplacement
 
 [1]  For an explanation of Font and the default value, see Specifying FONT Attribute Values
 [2]  Read the CONFIG file or query for the default with a STATUS command
 [3]  Screen or parent work area upper-left corner