pfc_propertypopulate


pfcutil.pbl   >   pfc_u_tabpg_dwproperty_srvrowmanager   >   pfc_propertypopulate   

Full name pfc_u_tabpg_dwproperty_srvrowmanager.pfc_propertypopulate
Access public
Extend of integer
Return value integer
Prototype event integer pfc_propertypopulate()

Name Datatype
No Data

Name Datatype
li_rc integer

event pfc_propertypopulate;//////////////////////////////////////////////////////////////////////////////
//
//	Function:  		pfc_properypopulate
//
//	Access:    		Public
//
//	Arguments:  	None
//
//	Returns:   		Integer
//   1 if it succeeds.
//	 -1 if an error occurs.
//
//	Description:  	
//	Populate the screen edit controls with the current service values.
//
//////////////////////////////////////////////////////////////////////////////
//
//	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.
//
//////////////////////////////////////////////////////////////////////////////

integer 	li_rc

// Validate references.
If IsNull(idw_requestor) or Not IsValid(idw_requestor) Then
	Return -1
End If
If IsNull(idw_requestor.inv_rowmanager) or Not IsValid(idw_requestor.inv_rowmanager) Then
	Return -1
End If

// Determine if Confirm On Delete is enabled.
cbx_confirmondelete.Checked = idw_requestor.inv_rowmanager.of_GetConfirmOnDelete()

// Determine if Restore Row(s) is enabled.
cbx_restorerow.Checked = idw_requestor.inv_rowmanager.of_IsRestoreRow()

Return 1

end event

     
Name Owner
No Data

     
Name Owner
systemfunctions.isnull systemfunctions
systemfunctions.isvalid systemfunctions
pfc_n_cst_dwsrv_rowmanager.of_getconfirmondelete pfc_n_cst_dwsrv_rowmanager
pfc_n_cst_dwsrv_rowmanager.of_IsRestoreRow pfc_n_cst_dwsrv_rowmanager

     
Full name
pfc_u_tabpg_dwproperty_srvrowmanager

     
Name Scope
No Data