List specific file types from FILELISTBOX control

Started by oradba4u, December 28, 2021, 08:18:45 PM

Previous topic - Next topic

oradba4u

All:
I'd like to list only specific file types (i.e. *.txt) instead of all files in GetDir() in my Dialog Box. Is this possible? Am I using the wrong control?

Thanks in advance


stanl


JTaylor

If you look up FileListBox Control in the Help file and read that top section,  assuming I understand,  I think that answers the question.

Jim

td

If the OP is referring to the FileListBox control used in WIL dialogs, the following Consolidated WIL Help file topic explains how to specify a file mask for the control.

https://docs.winbatch.com/mergedProjects/WinBatch/WINBATCH_FL_001.htm
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade