I've been using 2018 r2, and I finally had some time to look at updating. I have all the latest versions up to 2019 r3. I know I'm late to the dance, but I need to catch up.
1. When I go to compile I'm seeing 3 errors (but many instances of them). I see that we're no longer using "absolutePath" and should now use nativePath? Is that changing from colons to backslashes? There are quite few instances of this one.
2. Also I'm getting this error in my Canvas:
Parameter "format" expects enum Picture.Formats, but this is type String. If Picture.IsExportFormatSupported(Picture.FormatPNG) Then
The code for the above error in the Canvas is:
If me.Backdrop <> Nil Then // Get a temporary file to save the image to If Picture.IsExportFormatSupported(Picture.FormatPNG) Then f = f2.child(captionName) if f <> nil then // Save the image out to the file me.Backdrop.Save(f, Picture.SaveAsPNG) end if End If
Not sure if that's native to XOJO or from MBS plugins. How do I fix that?
3. And another one is the macType and macCreator:
prefsModule.saveas, line 203 Type "FolderItem" has no member named "macType" f.macType = "MCPT" // Use your file Type
Is this no longer required? Or how should I replace those bits of code? That might affect older files.