[Openroad-users] File Popup method for saving files

Gary Hansford gary.Hansford at indesitcompany.com
Tue Jul 10 00:35:02 EST 2007


Martin,

   On the FilePopup method.... use the argument: - 

                     operation = FOP_SAVE

   This provides exactly what you need...

   Cheers

Gary



> _____________________________________________ 
> From: 	openroad-users-bounces at peerlessit.com
> [mailto:openroad-users-bounces at peerlessit.com]  On Behalf Of
> Bloomfield, Martin (PSD)
> Sent:	09 July 2007 15:20
> To:	Openroad-Users
> Subject:	File Popup method for saving files
> 
> In an application I am creating, users need to be able to do a mail
> merge.  Normally I could do this automatically, but they need the
> ability to change some of the merge information.  Therefore I am
> creating the data file for them.  Currently, I use the
> CurFrame.FilePopup method (with a pre-populated filename) to ask them
> for the location and name of the file to save.  I then pass this value
> to the WriteToFile method of my stringobject.
> 
> The problem I have is that the FilePopup method displays a dialog with
> a button labelled "Open".  I have set the title to "Save data file
> as...", but would like to change the button label to "Save".  Does
> anyone know if this is possible, or have an alternative way of getting
> a File Save dialog that just returns the filename (or can be used on a
> StringObject to save the file directly)?
> 
> We are using OpenROAD 4.1 (SP2) on Ingres/Net 2.6 under Windows XP.
> 
> Many thanks,
> Martin Bloomfield. 
> _________________________________________________ 
> Application Developer & Database Administrator 
> IT Branch, 
> Pesticides Safety Directorate 
> YORK 
> Email: martin.bloomfield at psd.defra.gsi.gov.uk 
> Website: www.pesticides.gov.uk 
> P Save a tree... please don't print this e-mail unless you really need
> to 
> 
>  << File: ATT278482.txt >> 
E-Mail Notice and disclaimer.

This e-mail (including any attachment) is intended for the addressee named above. As this e-mail may contain confidential or privileged information, if you are not the named addressee, or the person responsible for delivering the message to the named addressee, please notify us immediately.
Every effort has been made to ensure that this e mail and any attachment is free from viruses but we give no warranty to that effect and can accept no responsibility for any losses resulting from infected e-mail. The internet cannot guarantee the integrity of this message. Indesit Company UK Ltd (and its subsidiaries) shall not be liable for the message if modified. Please note that any views expressed in this e-mail may be those of the author and do not necessarily reflect those of this organisation.
Indesit Company UK Limited
Registered Office: Morley Way, Peterborough, PE2 9JB.
Company Number 106725. EEE Reg. Number WEE/DH0057TS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.peerlessit.com/pipermail/openroad-users/attachments/20070709/fe2ac048/attachment.html 


More information about the Openroad-users mailing list