|
pfc_propertystart
|
|
Full name
|
pfc_u_tabpg_dwproperty_base.pfc_propertystart
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
event integer pfc_propertystart(n_cst_dwpropertyattrib)
|
Name
|
Datatype
|
li_rc
|
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
// 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
// Call the 'Initialize process'.
li_rc = this.Event pfc_propertyInitialize(inv_attrib)
If li_rc <= 0 Then Return li_rc
// Call the 'Populate process'.
li_rc = this.Event pfc_propertyPopulate()
If li_rc <= 0 Then Return li_rc
Return 1
end event