The example in the LR page for FileType.Extensions says (extract):
jpegType.Extensions = "jpg"
// .../...
pngType.Extensions = ".png"
Which one is correct ?
The one that starts with a dot (png) or the other one (jpg) ?
–
Make Our Xojo Great Again
DaveS
(DaveS)
June 1, 2017, 10:41pm
2
Per the same page you quoted.
The file extension for the file type, or several extensions separated by semicolons, e.g., “jpg;jpeg”. A period before the file type is required on Windows, but is optional on other platforms.
Norman_P
(Norman P)
June 1, 2017, 11:24pm
3
we always insert the . in all of our filetypes for the IDE
but you don’t have to if you don’t care about Windows
I’m confused by this.
I was under the impression that drag and drop accept expected a FileType set
I have two types of files hl7 and txt . (They are both txt actually, but just they way life is)
So what was I expected to pass as a String to this method?
DaveS
(DaveS)
September 24, 2019, 9:14pm
5
Me.AcceptFileDrop("ft_xcode")
where ft_xcode is the name of a filetype set