pfc_propertystart


pfcutil.pbl   >   pfc_u_tab_dwproperty   >   pfc_propertystart   

Full name pfc_u_tab_dwproperty.pfc_propertystart
Access public
Extend of integer
Return value integer
Prototype event integer pfc_propertystart(n_cst_dwpropertyattrib)

Name Datatype
No Data

Name Datatype
la_rc Any
li_cnt Integer
li_rc Integer
li_upper Integer

event pfc_propertystart;call super::pfc_propertystart;//////////////////////////////////////////////////////////////////////////////
//
//	Event:  pfc_PropertyStart
//
//	Arguments:  
//	 anv_attrib   The datawindow property attributes.
//
//	Returns: Integer
//	 1 = successful
// -1 = Error
//
//	Description:
//	 Start the object And call the 'Initialize' process for the specific 
//	 functionality.
//
//////////////////////////////////////////////////////////////////////////////
//	
//	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
Any		la_rc
Integer	li_upper
Integer	li_cnt

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

// Store the Attributes.
inv_attrib = anv_attrib

// Get the Requestor reference.
idw_requestor = inv_attrib.idw_requestor

// Loop through all the tab pages.
li_upper = Upperbound(this.Control)
For li_cnt = 1 to li_upper
	la_rc = this.Control[li_cnt].Dynamic Event pfc_PropertyStart(inv_attrib)
	If ClassName(la_rc) = 'integer' or ClassName(la_rc)='long' Then
		// The pfc_PropertyStart was found, validate the return code.
		If la_rc < 0 Then Return -1
	End If
Next

// Call the 'Initialize process'.
li_rc = this.Event pfc_propertyInitialize(inv_attrib)

Return li_rc
end event

     
Name Owner
pfc_w_dwproperty.open pfc_w_dwproperty

     
Name Owner
systemfunctions.classname systemfunctions
systemfunctions.isnull systemfunctions
systemfunctions.isvalid systemfunctions
systemfunctions.upperbound systemfunctions
pfc_u_tab_dwproperty.pfc_propertyinitialize pfc_u_tab_dwproperty

     
Full name
No Data

     
Name Scope
No Data