of_setcolumnheader


pfcapsrv.pbl   >   pfc_n_cst_lvsrv_sort   >   of_setcolumnheader   

Full name pfc_n_cst_lvsrv_sort.of_setcolumnheader
Access public
Extend of integer
Return value integer
Prototype public function integer of_setcolumnheader(boolean)

Name Datatype
No Data

Name Datatype
No Data

public function integer of_setcolumnheader (boolean ab_switch);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  		of_SetColumnHeader
//
//	Access:    		Public
//
//	Arguments:
// ab_switch		States if the object should sort when the user clicks
//						on a column	header.
//
//	Returns:   		Integer
//   					1 if successful, otherwise -1
//
//	Description:  	States if the object should sort when the user clicks
//						on a column	header. 
//
//////////////////////////////////////////////////////////////////////////////
//
//	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 arguments.
IF IsNull(ab_switch) THEN Return -1

ib_columnheadersort = ab_switch
Return 1
end function

     
Name Owner
No Data

     
Name Owner
systemfunctions.isnull systemfunctions

     
Full name
No Data

     
Name Scope
No Data