|
pfc_propertypopulate
|
|
Full name
|
pfc_u_tabpg_dwproperty_srvfind.pfc_propertypopulate
|
Access
|
public
|
Extend of
|
|
Return value
|
|
Prototype
|
event pfc_propertypopulate()
|
event pfc_propertypopulate;call super::pfc_propertypopulate;//////////////////////////////////////////////////////////////////////////////
//
// Function: pfc_propertypopulate
//
// 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.
//
//////////////////////////////////////////////////////////////////////////////
// Validate references.
If IsNull(idw_requestor) or Not IsValid(idw_requestor) Then
Return -1
End If
If IsNull(idw_requestor.inv_find) or Not IsValid(idw_requestor.inv_find) Then
Return -1
End If
// Determine if Allow Find Dialog is enabled.
cbx_allowfinddlg.Checked = idw_requestor.inv_find.of_IsAllowFindDlg()
// Determine if Allow Replace Dialog is enabled.
cbx_allowreplacedlg.Checked = idw_requestor.inv_find.of_IsAllowReplaceDlg()
Return 1
end event