|
pfc_rbuttondown
|
|
Full name
|
pfc_n_cst_dwsrv_rowselection.pfc_rbuttondown
|
Access
|
public
|
Extend of
|
|
Return value
|
|
Prototype
|
event pfc_rbuttondown(integer,integer,long,dwobject)
|
event pfc_rbuttondown;call super::pfc_rbuttondown;//////////////////////////////////////////////////////////////////////////////
//
// Event: pfc_rbuttondown
//
// (Arguments:
// ai_xpos: x position clicked
// ai_ypos: y position clicked
// al_row: row clicked
// adwo_obj: DWobject clicked
//
// (Returns: None)
//
// Description: Process row-selection when right-mouse button is pressed
//
//////////////////////////////////////////////////////////////////////////////
//
// 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.
//
//////////////////////////////////////////////////////////////////////////////
//Store in service that the Button is Pressed.
ib_rbuttonpressed = TRUE
// Clear other button.
ib_lbuttonpressed = FALSE
// Make sure request is valid.
If IsNull(idw_requestor) Or Not IsValid(idw_requestor) Then Return
If IsNull(al_row) or al_row <=0 Then Return
// Keep track of the currently clicked row.
il_currclickedrow = al_row
// Process behavior depending on selection option
of_RowSelect(al_row)
end event