Default Browse Location
Moderators: Dorian (MJT support), JRL
Default Browse Location
Is there a way to force the browse button on an input box to default to a specific location? I have a folder which resides at C:\Folder. Folder contains several files that I commonly use in macros, so I want C:\Folder to be the folder that pops up when I click the Browse button.
Thanks,
Josh
Josh
From the help for Dialog> under FileBrowse.
FileBrowse=ButtonObjectName,TextObjectName[,mask[,open|save[,initialdir[,filename]]]]
Dialog>Dialog1
Caption=Dialog1
Width=165
Height=210
Top=CENTER
Left=CENTER
Edit=msEdit1,16,16,121,
Button=Browse,40,56,75,25,4
FileBrowse=Browse,msEdit1,,open,C:\Folder
EndDialog>Dialog1
Show>dialog1,r
MDL>%r% %Dialog1.msEdit1%
Later,
Dick
FileBrowse=ButtonObjectName,TextObjectName[,mask[,open|save[,initialdir[,filename]]]]
Dialog>Dialog1
Caption=Dialog1
Width=165
Height=210
Top=CENTER
Left=CENTER
Edit=msEdit1,16,16,121,
Button=Browse,40,56,75,25,4
FileBrowse=Browse,msEdit1,,open,C:\Folder
EndDialog>Dialog1
Show>dialog1,r
MDL>%r% %Dialog1.msEdit1%
Later,
Dick