clicked


pfcmain.pbl   >   pfc_u_dw   >   clicked   

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

Name Datatype
No Data

Name Datatype
lb_disablelinkage boolean
li_rc integer

event clicked;//////////////////////////////////////////////////////////////////////////////
//	Event:			clicked
//	Description:	DataWindow clicked
//////////////////////////////////////////////////////////////////////////////
//	Rev. History	Version
//						5.0   Initial version
// 					6.0 	Added Linkage service notification
// 					6.0 	Introduced non zero return value
// 					7.0   Do not bypass processing on linkage failure.  
// 					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.
//////////////////////////////////////////////////////////////////////////////
integer li_rc
boolean lb_disablelinkage

// Check arguments
if IsNull(xpos) or IsNull(ypos) or IsNull(row) or IsNull(dwo) then return

// 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_clicked ( xpos, ypos, row, dwo ) = &
			inv_Linkage.PREVENT_ACTION then
			// The user or a service action prevents from going to the clicked row.
			return 1
		end if
	end if
end if
	
if IsValid (inv_RowSelect) then inv_RowSelect.Event pfc_clicked ( xpos, ypos, row, dwo )

if IsValid (inv_Sort) then inv_Sort.Event pfc_clicked ( xpos, ypos, row, dwo ) 
end event

     
Name Owner
w_resp_employee.dw_master.clicked dw_master
w_resp_sales_order.dw_master.clicked dw_master
w_resp_salesperson.dw_view.clicked dw_view
w_resp_salesperson.dw_master.clicked dw_master
pfc_w_selection.dw_1.clicked dw_1
pfc_w_restorerow.dw_delete.clicked dw_delete
pfc_w_sortdragdrop.dw_sorted.clicked dw_sorted
pfc_w_sortdragdrop.dw_sortcolumns.clicked dw_sortcolumns
pfc_u_calendar.dw_cal.clicked dw_cal
pfc_u_tabpg_dwproperty_buffers.dw_requestorduplicate.clicked dw_requestorduplicate
pfc_w_statusbar.dw_statusbar.clicked dw_statusbar

     
Name Owner
systemfunctions.isnull systemfunctions
systemfunctions.isvalid systemfunctions
pfc_n_cst_dwsrv_querymode.of_getenabled pfc_n_cst_dwsrv_querymode
pfc_n_cst_dwsrv_linkage.pfc_clicked pfc_n_cst_dwsrv_linkage
pfc_n_cst_dwsrv_rowselection.pfc_clicked pfc_n_cst_dwsrv_rowselection
pfc_n_cst_dwsrv_sort.pfc_clicked pfc_n_cst_dwsrv_sort

     
Full name
No Data

     
Name Scope
No Data