|
pfc_clicked
|
|
Full name
|
pfc_n_cst_dwsrv_rowselection.pfc_clicked
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
event integer pfc_clicked(integer,integer,long,ref dwobject)
|
event pfc_clicked;call super::pfc_clicked;//////////////////////////////////////////////////////////////////////////////
//
// Event: pfc_clicked
//
// Arguments:
// ai_xpos: x position clicked
// ai_ypos: y position clicked
// al_row: row clicked
// adwo_obj: DWobject clicked
//
// Returns: Integer
// 1 if it succeeds and -1 if an error occurs.
//
// Description: Clicked behavior.
//
//////////////////////////////////////////////////////////////////////////////
//
// Revision History
//
// Version
// 5.0 Initial version
// 6.0 Added keyboard support.
// 6.0 Took out check for "Detail" bandpointer to allow for keyboard support.
//
//////////////////////////////////////////////////////////////////////////////
//
// 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.
//
//////////////////////////////////////////////////////////////////////////////
// Make sure request is valid.
If IsNull(idw_requestor) Or Not IsValid(idw_requestor) Then Return -1
If IsNull(adwo_obj) Then Return -1
If IsNull(al_row) or al_row <=0 Then Return -1
// Keep track of the currently clicked row.
il_currclickedrow = al_row
// Process clicked behavior depending on selection option
Return of_RowSelect(al_row)
end event