printheader


pfcmain.pbl   >   pfc_u_rte   >   printheader   

Full name pfc_u_rte.printheader
Access public
Extend of
Return value
Prototype event printheader()

Name Datatype
No Data

Name Datatype
No Data

event printheader;//////////////////////////////////////////////////////////////////////////////
//
//	Event:  printheader
//
//	Description:  Set page numbering
//
//////////////////////////////////////////////////////////////////////////////
//	
//	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.
//
//////////////////////////////////////////////////////////////////////////////

// Verify that a page number field has been established
if Len (is_pageinputfield) <= 0 then
	return
end if

// Determine current page number based on ib_continuouspages property
if not ib_continuouspages then
	if currentrow <> il_currentinstance then
		il_currentinstance = currentrow
		il_currentprintpage = 1
	else
		il_currentprintpage++
	end if
else
	il_currentprintpage++
end if

if il_startpagenumber <= il_currentprintpage then
	InputFieldChangeData (is_pageinputfield, String (il_currentprintpage))
else
	InputFieldChangeData (is_pageinputfield, "")
end if
end event

     
Name Owner
No Data

     
Name Owner
richtextedit.inputfieldchangedata richtextedit
systemfunctions.len systemfunctions
systemfunctions.string systemfunctions

     
Full name
No Data

     
Name Scope
No Data