|
of_load
|
|
Full name
|
pfc_n_cst_dwsrv_querymode.of_load
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_load(string,ref string,ref string,string)
|
public function integer of_load (string as_title, ref string as_pathname, ref string as_filename, string as_ext);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_Load
//
// Access: public
//
// Arguments:
// as_title title of the load dialog
// as_pathname string variable into which you want to store the returned path and filename.
// as_filename string variable in which you want to store the returned filename
// as_ext string whose value is a 1 to 3 character default file extension
//
// Returns: integer
// 1 = The load was successful
// 0 = The user hit the Cancel button or Windows cancels the display
// -1 = error
//
// Description:
// To load a saved query criteria from disk.
// This function will set QueryMode to "yes" if a file is chosen in the File Open dialog.
//
//////////////////////////////////////////////////////////////////////////////
//
// Revision History
//
// Version
// 5.0 Initial version
//
//////////////////////////////////////////////////////////////////////////////
//
// Copyright © 1996-1999 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.
//
//////////////////////////////////////////////////////////////////////////////
return of_Load (as_title, as_pathname, as_filename, as_ext, "Query (*.txt),*.txt,All files (*.*),*.*")
end function