of_register


pfcmain.pbl   >   pfc_u_calculator   >   of_register   

Full name pfc_u_calculator.of_register
Access public
Extend of integer
Return value integer
Prototype public function integer of_register()

Name Datatype
No Data

Name Datatype
No Data

public function integer of_register ();//////////////////////////////////////////////////////////////////////////////
//
//	Function:  		of_Register
//
//	Access:  		public
//
//	Arguments:
//	 ai_style		The style for all the columns.
//
//	Returns:  		Integer
//						The number of columns registered.
//						-1 if an error is encountered.
//
//	Description: 	
//		Register all the appropriate columns that are holding numeric fields.
// 	This version should only be called when "ALL" date columns are desired, 
// 	otherwise call the version which accepts a column name as an argument.
//		Columns need to be of editstyle 'ddlb', 'edit' or 'editmask'.
//
//		*Note:	For a column to be added it most have a field of type Numeric.
//		*Note:	Function is only valid when serving a DataWindow control.
//
//////////////////////////////////////////////////////////////////////////////
//
//	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.
//
//////////////////////////////////////////////////////////////////////////////

Return of_Register(NONE)
end function

     
Name Owner
No Data

     
Name Owner
pfc_u_calculator.of_register pfc_u_calculator

     
Full name
No Data

     
Name Scope
No Data