pfc_replacedlg


pfcapsrv.pbl   >   pfc_n_cst_rtefind   >   pfc_replacedlg   

Full name pfc_n_cst_rtefind.pfc_replacedlg
Access public
Extend of
Return value
Prototype event pfc_replacedlg()

Name Datatype
No Data

Name Datatype
No Data

event pfc_replacedlg;//////////////////////////////////////////////////////////////////////////////
//
//	Event:  			pfc_replacedlg
//
//	(Arguments:		None)
//
//	(Returns:  		None)
//
//	Description:	Call to begin a find and replace operation.
//
//////////////////////////////////////////////////////////////////////////////
//	
//	Revision History
//
//	Version
//	5.0   Initial version
// 5.0.02 Close existing Dialog window prior to displaying the new Dlg window.
// 5.0.02 Open the extension replace window instead of the base replace window.
//
//////////////////////////////////////////////////////////////////////////////
//
//	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.
//
//////////////////////////////////////////////////////////////////////////////

//Close existing Dialog window prior to displaying the new Dlg window.
If IsValid(w_replace) Then Close(w_replace)
If IsValid(w_find) Then Close(w_find)

//Set this object as the requestor.
inv_findattrib.ipo_requestor = this

//Disable look in.
inv_findattrib.ib_lookenabled = false
inv_findattrib.ib_lookvisible = false

//Open the replace window.
OpenWithParm (w_replace, inv_findattrib)

Return

end event

     
Name Owner
pfc_u_rte.pfc_replacedlg pfc_u_rte

     
Name Owner
systemfunctions.close systemfunctions
systemfunctions.isvalid systemfunctions
systemfunctions.openwithparm systemfunctions

     
Full name
w_replace
w_find

     
Name Scope
No Data