WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Dialog Editor
plus
plus
plus
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

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
File Created: 1999:04:15:16:50:00
Last Updated: 1999:04:15:16:50:00