|
pfc_replaceall
|
|
Full name
|
pfc_n_cst_rtefind.pfc_replaceall
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
event integer pfc_replaceall(n_cst_findattrib)
|
Name
|
Datatype
|
li_counter
|
integer
|
li_rc
|
integer
|
event pfc_replaceall;//////////////////////////////////////////////////////////////////////////////
//
// Event: pfc_replaceall
//
// Arguments:
// anv_findattrib - nvo-structure - reference of search attributes
//
// Returns: none
//
//
// Description: This event is called to search and replace all
// instances of the text using the current settings.
//
//////////////////////////////////////////////////////////////////////////////
//
// Revision History
//
// Version
// 5.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_counter=0
integer li_rc
SetPointer(HourGlass!)
If (IsNull(idw_requestor) Or Not IsValid(idw_requestor)) And &
(IsNull(irte_requestor) Or Not IsValid(irte_requestor)) Then
Return -1
End If
If IsValid(irte_requestor) Then
li_rc = irte_requestor.SetRedraw(False)
Else
li_rc = idw_requestor.SetRedraw(False)
End If
DO
li_rc = this.Event pfc_Replace(anv_findattrib)
if li_rc > 0 THEN
li_counter ++
end if
LOOP UNTIL li_rc <= 0
If IsValid(irte_requestor) Then
li_rc = irte_requestor.SetRedraw(True)
Else
li_rc = idw_requestor.SetRedraw(True)
End If
return li_counter
end event
Name
|
Owner
|
dragobject.setredraw |
dragobject
|
systemfunctions.isnull |
systemfunctions
|
systemfunctions.isvalid |
systemfunctions
|
systemfunctions.setpointer |
systemfunctions
|
pfc_n_cst_rtefind.pfc_replace |
pfc_n_cst_rtefind
|