of_settypetoprocess


pfcapsrv.pbl   >   pfc_n_cst_luw   >   of_settypetoprocess   

Full name pfc_n_cst_luw.of_settypetoprocess
Access public
Extend of integer
Return value integer
Prototype public function integer of_settypetoprocess(string)

Name Datatype
No Data

Name Datatype
No Data

public function integer of_settypetoprocess (string as_types);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  
//	of_SetTypeToProcess
//
//	Access:  public
//
//	Arguments:  
//	as_types	The types of objects the Save Process should operate on.  These should
//				be a space separated list of the types.  To support all of the objects
//				use the ALL_OBJECTS constant.
//				For example set it to this common set:
//				'window tab userobject nonvisualobject datawindow listview '+
//				'richtextedit treeview datastore'
//
//	Returns:  integer
//	1 success
//	-1 error
//
//	Description:
//	Sets the types of objects the Save Process should operate on.
//
//	Note:
//	To support all of the objects set it to match the ALL_OBJECTS constant.
//
//////////////////////////////////////////////////////////////////////////////
//
//	Revision History
//
//	Version
//	6.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.
//
//////////////////////////////////////////////////////////////////////////////

// Check the argument.
If IsNull(as_types) Then
	Return -1
End If

is_typetoprocess = Lower(as_types)
Return 1
end function

     
Name Owner
No Data

     
Name Owner
systemfunctions.isnull systemfunctions
systemfunctions.lower systemfunctions

     
Full name
No Data

     
Name Scope
No Data