of_firstpage


pfcdwsrv.pbl   >   pfc_n_cst_dwsrv_printpreview   >   of_firstpage   

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

Name Datatype
No Data

Name Datatype
No Data

public function integer of_firstpage ();//////////////////////////////////////////////////////////////////////////////
//
//	Function:  of_FirstPage
//
//	Access:  public
//
//	Arguments:  none
//
//	Returns:  integer
//	 1 = success
//	-1 = error
//
//	Description:  Scrolls to the first 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 (0)
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