Insert Object into Container field Mac/Win
am 19.09.2007 23:53:11 von t
FM 9 + Windows XP + MAC OS
Hi there... I am programming a solution on windows to be used on a
Mac. I had made a container field and a button to insert object which
in windows allows me to browse and store the document and opening in
its native program by double clicking on the container field. When I
tested on the Mac, the button did not work and right clicking to
Insert Object was not an option, it does not even appear on the menu??
Can anyone suggest how I can achieve the same result in the Mac?
Thanks so much for any suggestions.
Toni
Re: Insert Object into Container field Mac/Win
am 20.09.2007 01:48:01 von ursus.kirk
"t" schreef in bericht
news:1190238791.671986.267260@e34g2000pro.googlegroups.com.. .
> FM 9 + Windows XP + MAC OS
>
> Hi there... I am programming a solution on windows to be used on a
> Mac. I had made a container field and a button to insert object which
> in windows allows me to browse and store the document and opening in
> its native program by double clicking on the container field. When I
> tested on the Mac, the button did not work and right clicking to
> Insert Object was not an option, it does not even appear on the menu??
>
> Can anyone suggest how I can achieve the same result in the Mac?
>
> Thanks so much for any suggestions.
>
> Toni
>
You can not achieve exactly the same due to differences between platforms.
Inserting Objects (OLE) is windows only. (Look up object in the help file)
But you can store a comple path to a file (With filename) and deliver all
files as one packet. It is easy enought to retrieve the file path with
Get(FilePath) and store the images there as well. Then you resolve the
complete path (look up path within the help file) and open the file of your
needs with open URL, Send Event or write an AppleScript.
Keep well, Ursus