of_lastpage


pfcdwsrv.pbl   >   pfc_n_cst_dwsrv_printpreview   >   of_lastpage   

Full name pfc_n_cst_dwsrv_printpreview.of_lastpage
Access public
Extend of integer
Return value integer
Prototype public function integer of_lastpage()

Name Datatype
No Data

Name Datatype
No Data

public function integer of_lastpage ();//////////////////////////////////////////////////////////////////////////////
//
//	Function:  of_LastPage
//
//	Access:  public
//
//	Arguments:  none
//
//	Returns:  integer
//	 ending page number that was scrolled to
//	-1 = error
//
//	Description:  Scrolls to the last page
//
//////////////////////////////////////////////////////////////////////////////
//
//	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.
//
//////////////////////////////////////////////////////////////////////////////

if IsNull(idw_requestor) Or not IsValid (idw_requestor) then
	return -1
end if

return idw_requestor.ScrollToRow (2147483647)
end function

     
Name Owner
No Data

     
Name Owner
datawindow.scrolltorow datawindow
systemfunctions.isnull systemfunctions
systemfunctions.isvalid systemfunctions

     
Full name
No Data

     
Name Scope
No Data