User Exit for Forms 4.0 (Mac)

From: Brian Morgan <bfmorgan_at_llnl.gov>
Date: Fri, 28 Oct 1994 14:57:17 -0700
Message-ID: <bfmorgan-2810941457170001_at_image1.llnl.gov>


Before I go out and re-invent the wheel, I thought I would check with the net and see if anyone has been there before...

 What I need is a user exit written for Forms 4.0 on the Mac that when called displays the standard "Open File" dialog. When the user exits the dialog the function returns what button was push and the full path name of the file selected, i.e., "HD:Oracle:The Cool File".

This should be easy to make using the StandardGetFile and the GetFullPath function outlined in Inside Mac: Files. However because Forms Runtime runs on both MacOS 6 and 7 you have to call the Gestalt function and test for which system is running. Also it would be neet to call the custom Open File DITLs already in Forms. This would require the CustomGetFile procedure which is much more difficult to program.

Thanks in advance,

-- 

I ping therefore I am

Brian F. Morgan
bfmorgan_at_llnl.gov
Received on Fri Oct 28 1994 - 22:57:17 CET

Original text of this message