|
pfc_lastpage
|
|
Full name
|
pfc_u_dw.pfc_lastpage
|
Access
|
public
|
Extend of
|
long
|
Return value
|
long
|
Prototype
|
event long pfc_lastpage()
|
Name
|
Datatype
|
ll_rc
|
long
|
ls_rc
|
string
|
event pfc_lastpage;//////////////////////////////////////////////////////////////////////////////
// Event: pfc_lastpage
// Arguments: None
// Returns: Long - Row number displayed at the top of the page scrolled to
// -1 if an error occurs
// Description: Scrolls to the last page of the DW
//////////////////////////////////////////////////////////////////////////////
// Rev. History Version
// 5.0 Initial version
//////////////////////////////////////////////////////////////////////////////
// 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.
//////////////////////////////////////////////////////////////////////////////
long ll_rc
string ls_rc
ll_rc = ScrollToRow (2147483647)
if ll_rc > 0 then
ls_rc = this.object.datawindow.firstrowonpage
if IsNumber (ls_rc) then
ll_rc = Long (ls_rc)
else
ll_rc = FAILURE
end if
end if
return ll_rc
end event
Name
|
Owner
|
datawindow.scrolltorow |
datawindow
|
systemfunctions.isnumber |
systemfunctions
|
systemfunctions.long |
systemfunctions
|