|
Post by jarychk on Aug 2, 2022 4:30:09 GMT
SOLVED: SEE SECOND POST.
I thought I would know what I was doing. But I really do not.
I read and thought about the helpfile about making filedialog use a template to let user immediately see choices of files to be opened in a specific folder and for one specific file extension. Tell me how to get this well-controlled.
An example would be like this. Program default directory may have a folder in it called, "heretheyare". Maybe this folder has two files, called "uptime.dat" and "downtime.dat". Filedialog should be able to show THOSE TWO FILES in the "heretheyare" folder and user should simply single left click the file he wants and click "OK". How do I make this work?
FILEDIALOG "open the file you need","heretheyare"+"\*.dat",picking$
OR
FILEDIALOG "open the file you need",DefaultDir$+"\heretheyare\"+"*.dat",picking$
OR
Something else?
I do not want the filedialog to stop at just showing the folder and user need to double click the folder in the filedialog before finally clicking on desired file. Wanted is filedialog opens INTO the "heretheyare" folder.
|
|
|
Post by jarychk on Aug 2, 2022 4:59:58 GMT
SOLVED
NOW I KNOW.
FILEDIALOG "open the needed file", DefaultDir$+"\heretheyare\*.dat",picking$
That works perfectly.
|
|