of_pagesetupdlg


pfcapsrv.pbl   >   pfc_n_cst_platform   >   of_pagesetupdlg   

Full name pfc_n_cst_platform.of_pagesetupdlg
Access public
Extend of long
Return value long
Prototype public function long of_pagesetupdlg(ref s_pagesetupattrib)

Name Datatype
No Data

Name Datatype
ll_rc long

public function long of_pagesetupdlg (ref s_pagesetupattrib astr_pagesetup);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  of_PageSetupDlg
//
//	Access:  public
//
//	Arguments:
//	astr_pagesetup:  page setup structure by ref
//
//	Returns:  long
//	 1 = success
//	 0 = User cancelled from page setup dialog
//	-1 = error
//
//	Description:  Opens the page setup dialog
//
//////////////////////////////////////////////////////////////////////////////
//
//	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.
//
//////////////////////////////////////////////////////////////////////////////

long	ll_rc

ll_rc = OpenWithParm (w_pagesetup, astr_pagesetup)
if ll_rc > 0 then
	astr_pagesetup = message.PowerObjectParm
	if not astr_pagesetup.b_actiontaken then
		ll_rc = 0
	end if
end if

return ll_rc
end function

     
Name Owner
pfc_u_dw.pfc_pagesetupdlg pfc_u_dw
pfc_n_ds.pfc_pagesetupdlg pfc_n_ds

     
Name Owner
systemfunctions.openwithparm systemfunctions

     
Full name
w_pagesetup
s_pagesetupattrib
demopfc

     
Name Scope
No Data