I have this bit of code in a procedure handling menu events:
Code: Select all
FileName$ = OpenFileRequester("Load Image", "", "Bitmap files (*.bmp) | *.bmp | All files (*.*) | *.*", 0)
Thanks in advance.
Code: Select all
FileName$ = OpenFileRequester("Load Image", "", "Bitmap files (*.bmp) | *.bmp | All files (*.*) | *.*", 0)
Code: Select all
| *.bmp |
As BarryG kindly pointed out to me, that will not work correctly. The example code snippet on the same page is, however, correct (no spaces).It has to be in the following form : "Text file | *.txt | Music file | *.mus;*.mod"