of_SetRowManager


pfcmain.pbl   >   pfc_u_dw   >   of_SetRowManager   

Full name pfc_u_dw.of_SetRowManager
Access public
Extend of integer
Return value integer
Prototype public function integer of_SetRowManager(boolean)

Name Datatype
No Data

Name Datatype
No Data

public function integer of_SetRowManager (boolean ab_switch);//////////////////////////////////////////////////////////////////////////////
//	Public Function:  of_SetRowManager
//	Arguments: 		boolean
//   					true  - Start (create) the service
//   					false - Stop (destroy ) the service
//	Returns:  		Integer - 1 if Successful operation, 0 = No action taken and -1 if an error occured
//	Description:	Starts or stops the Row Management Services.  This service
//						facilitates the addition, deletion of rows in a datawindow
//						and provides an "last-change" undo.
//////////////////////////////////////////////////////////////////////////////
//	Rev. 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.
//////////////////////////////////////////////////////////////////////////////
// Check arguments
if IsNull(ab_switch) then return FAILURE

if ab_Switch then
	if IsNull(inv_RowManager) or not IsValid (inv_RowManager) then
		inv_RowManager = Create n_cst_dwsrv_rowmanager
		inv_RowManager.of_SetRequestor ( this )
		return SUCCESS
	end if
else 
	if IsValid (inv_RowManager) then
		Destroy inv_RowManager
		return SUCCESS
	end if	
end if

return NO_ACTION
end function

     
Name Owner
pfc_u_dw.destructor pfc_u_dw
pfc_u_tabpg_dwproperty_buffers.dw_requestorview.constructor dw_requestorview
pfc_u_tabpg_dwproperty_srvcalendar2.dw_holidays.constructor dw_holidays
pfc_u_tabpg_dwproperty_srvcalendar2.dw_markeddays.constructor dw_markeddays
pfc_u_tabpg_dwproperty_services.pfc_propertyapplyimmediate pfc_u_tabpg_dwproperty_services

     
Name Owner
systemfunctions.isnull systemfunctions
systemfunctions.isvalid systemfunctions
pfc_n_cst_dwsrv.of_setrequestor pfc_n_cst_dwsrv

     
Full name
No Data

     
Name Scope
No Data