pfc_open


pfcmain.pbl   >   pfc_u_rte   >   pfc_open   

Full name pfc_u_rte.pfc_open
Access public
Extend of integer
Return value integer
Prototype event integer pfc_open()

Name Datatype
No Data

Name Datatype
ls_filename string

event pfc_open;//////////////////////////////////////////////////////////////////////////////
//
//	Event:  pfc_open
//
//	Arguments:  None
//
//	Returns:  integer
//	 1 = success
//	 0 = User cancelled from the fileopen dialog
//	-1 = error
//
//	Description:
//	This function prompts the user to choose a file to open, then
//	it inserts the document into the RTE, clearing any previous text.
//	User will be prompted to save changes to old document if necessary.
//
//////////////////////////////////////////////////////////////////////////////
//	
//	Revision History
//
//	Version
//	5.0   Initial version
//
//////////////////////////////////////////////////////////////////////////////
//
//	Copyright © 1996-1997 Sybase, Inc. and its subsidiaries.  All rights reserved.
//	Any distribution of the PowerBuilder Foundation Classes (PFC)
//	source code by other than Sybase, Inc. and its subsidiaries is prohibited.
//
//////////////////////////////////////////////////////////////////////////////

string	ls_filename

return of_OpenDocument (ls_filename)
end event

     
Name Owner
No Data

     
Name Owner
pfc_u_rte.of_opendocument pfc_u_rte

     
Full name
No Data

     
Name Scope
No Data