FileListBox Specify the Extension
Keywords: ext *.* extension Dialog Dialogbox box controls FileListBox list
In order to specify the extension in a FileListBox in the Dialog Editor,
add the following into the script:
Accessdialog01= '14,16,108,108,FILELISTBOX, THENAME, DEFAULT
Accessdialog02='16,4,100, DEFAULT, STATICTEXT, DEFAULT, '' text"
Accessdialog03= another feature
Accessdialog04= another feature
; This is what is added.
DirChange(Varname)
TheFile="*.TXT"
; This is generally the last line of the dialog box.
Dialog("Accessdialog")
;Display a message so you can see what file was selected.
Message("Selected File", TheFile)
Article ID: W12840
Filename: FileListBox Specify the Extension.txt