rowfocuschanging


pfcmain.pbl   >   pfc_u_dw   >   rowfocuschanging   

Full name pfc_u_dw.rowfocuschanging
Access public
Extend of
Return value
Prototype event rowfocuschanging()

Name Datatype
No Data

Name Datatype
lb_disablelinkage boolean

event rowfocuschanging;//////////////////////////////////////////////////////////////////////////////
//	Event:			rowfocuschanging
//	Description:	Send rowfocuschanging notification to services
//////////////////////////////////////////////////////////////////////////////
//	Rev. History	Version
//						6.0   Initial version
// 					7.0	Linkage service should not fire events when querymode is enabled
//////////////////////////////////////////////////////////////////////////////
//	Copyright © 1996-1999 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.
//////////////////////////////////////////////////////////////////////////////
boolean lb_disablelinkage

// Is Querymode enabled?
If IsValid(inv_QueryMode) then lb_disablelinkage = inv_QueryMode.of_GetEnabled()

if not lb_disablelinkage then
	If IsValid(inv_Linkage) then
		If inv_Linkage.Event pfc_RowFocusChanging (currentrow, newrow) <>  &
			inv_Linkage.CONTINUE_ACTION then
			// The user or a service action prevents from going to the newrow.
			return 1
		end if	
	end if
end if

return
end event

     
Name Owner
No Data

     
Name Owner
systemfunctions.isvalid systemfunctions
pfc_n_cst_dwsrv_querymode.of_getenabled pfc_n_cst_dwsrv_querymode
pfc_n_cst_dwsrv_linkage.pfc_rowfocuschanging pfc_n_cst_dwsrv_linkage

     
Full name
No Data

     
Name Scope
No Data