Problem with OpenDialog.InitialDirectory

Is anyone aware of possible issue with OpenDialog.InitialDirectory on Mac (Yosemite or Mavericks). Whenever I set this property to a directory that is different from the directory that contains the last file that was opened, the open dialog defaults to the “Documents” folder. If, on the other hand I set this property to the location of the last file opened, the open dialog defaults to the correct location. The same code works fine on Windows.

Didn’t this come up as an issue of Carbon?
See post: https://forum.xojo.com/conversation/post/135627

Ah, this may explain things. Thanks. After lots of tinkering it suddenly started working and I wasn’t really sure why. I think one of the things I did was to flip the Framework from Carbon to Cocoa.