pfc_zoom


pfcmain.pbl   >   pfc_u_dw   >   pfc_zoom   

Full name pfc_u_dw.pfc_zoom
Access public
Extend of integer
Return value integer
Prototype event integer pfc_zoom()

Name Datatype
No Data

Name Datatype
No Data

event pfc_zoom;//////////////////////////////////////////////////////////////////////////////
//	Event:			pfc_zoom
//	Arguments:		None
//	Returns:			Integer - Zoom level chosen by the user
//	 					0 = user cancelled from zoom dialog
//						-1 = error
//	Description:	Zooms the print preview level to the user-specified amount
//////////////////////////////////////////////////////////////////////////////
//	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.
//////////////////////////////////////////////////////////////////////////////
if IsValid (inv_PrintPreview) then
	if inv_PrintPreview.of_GetEnabled() then
		return inv_PrintPreview.of_SetZoom()
	end if
end if

return FAILURE
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_setzoom pfc_n_cst_dwsrv_printpreview

     
Full name
No Data

     
Name Scope
No Data