|
rowfocuschanging
|
|
Full name
|
pfc_u_dw.rowfocuschanging
|
Access
|
public
|
Extend of
|
|
Return value
|
|
Prototype
|
event rowfocuschanging()
|
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