Hi All,
I am having a go at pretty much "recreating" notepad, just for experience.
I currently have a dialog with a "save" button which will bring up the file browse and let me save. This works fine, but I want to know how I will be able to add "file extensions" into it.
For example, in windows when you save a file, you type the file name, but underneath it, there is a dropdown menu which says ".txt", "all files", ".doc" etc.
I want to include an option for ".txt" and "all files".
I currently have the below:
SRT>doSave
SetDialogProperty>TextEditor,Save,DoBrowse,True
GetDialogProperty>TextEditor,Save,Filename,str_Filename
GetDialogProperty>TextEditor,TextEditor,text,varText
WriteLn>%str_Filename%,nWLNRes,varText
END>doSave
Thank you! ))
Dominic Fichera
File extensions in Save Dialog
Moderators: Dorian (MJT support), JRL
-
- Pro Scripter
- Posts: 82
- Joined: Mon Mar 24, 2014 12:15 pm