of_setdisplayunits


pfcapsrv.pbl   >   pfc_n_cst_lvsrv   >   of_setdisplayunits   

Full name pfc_n_cst_lvsrv.of_setdisplayunits
Access public
Extend of integer
Return value integer
Prototype public function integer of_setdisplayunits(string)

Name Datatype
No Data

Name Datatype
No Data

public function integer of_setdisplayunits (string as_displayunits);//////////////////////////////////////////////////////////////////////////////
//
//	Function:	of_SetDisplayUnits
//
//	Access:		public
//
//	Arguments:
//	as_displayunits:  display name of the units (rows)
//
//	Returns:		integer
//	 1 = success
//	-1 = error
//
//	Description:
//	Sets the display name of the units (rows) of the listview.
//
//////////////////////////////////////////////////////////////////////////////
//
//	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.
//
//////////////////////////////////////////////////////////////////////////////

// Validate argument
if IsNull (as_displayunits) then
	return -1
end if

is_displayunits = as_displayunits

return 1
end function

     
Name Owner
No Data

     
Name Owner
systemfunctions.isnull systemfunctions

     
Full name
No Data

     
Name Scope
No Data