pfc_replaceall


pfcdwsrv.pbl   >   pfc_n_cst_dwsrv_find   >   pfc_replaceall   

Full name pfc_n_cst_dwsrv_find.pfc_replaceall
Access public
Extend of integer
Return value integer
Prototype event integer pfc_replaceall(n_cst_findattrib)

Name Datatype
No Data

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 dynimaclly 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!)
			
idw_requestor.SetRedraw(False)			
DO
	ib_replaced = False
	li_rc = this.Event pfc_Replace(anv_findattrib)
	If ib_replaced Then li_counter ++
LOOP UNTIL li_rc <= 0
idw_requestor.SetRedraw(True)

return li_counter

end event

     
Name Owner
No Data

     
Name Owner
dragobject.setredraw dragobject
systemfunctions.setpointer systemfunctions
pfc_n_cst_dwsrv_find.pfc_replace pfc_n_cst_dwsrv_find

     
Full name
No Data

     
Name Scope
No Data