pfc_printpreview


pfcmain.pbl   >   pfc_u_dw   >   pfc_printpreview   

Full name pfc_u_dw.pfc_printpreview
Access public
Extend of boolean
Return value boolean
Prototype event boolean pfc_printpreview()

Name Datatype
No Data

Name Datatype
lb_rc boolean

event pfc_printpreview;//////////////////////////////////////////////////////////////////////////////
//	Event:			pfc_printpreview
//	Arguments:		None
//	Returns:			boolean
//						true = DataWindow is in printpreview
//						false = DataWindow is in editmode
//	Description:	Toggles the DataWindow in printpreview/edit mode
//////////////////////////////////////////////////////////////////////////////
//	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.
//////////////////////////////////////////////////////////////////////////////
boolean	lb_rc

if IsValid (inv_PrintPreview) then
	lb_rc = inv_PrintPreview.of_GetEnabled()
	lb_rc = not lb_rc
	inv_PrintPreview.of_SetEnabled (lb_rc)
end if

return lb_rc
end event

     
Name Owner
No Data

     
Name Owner
systemfunctions.isvalid systemfunctions
pfc_n_cst_dwsrv_printpreview.of_getenabled pfc_n_cst_dwsrv_printpreview
pfc_n_cst_dwsrv_printpreview.of_setenabled pfc_n_cst_dwsrv_printpreview

     
Full name
No Data

     
Name Scope
No Data