of_getruler


pfcdwsrv.pbl   >   pfc_n_cst_dssrv_printpreview   >   of_getruler   

Full name pfc_n_cst_dssrv_printpreview.of_getruler
Access public
Extend of boolean
Return value boolean
Prototype public function boolean of_getruler()

Name Datatype
No Data

Name Datatype
lb_rc boolean
lnv_conversion n_cst_conversion
ls_rulers string

public function boolean of_getruler ();//////////////////////////////////////////////////////////////////////////////
//
//	Function:  of_GetRuler
//
//	Access:  public
//
//	Arguments:  none
//
//	Returns:  boolean
//	true = rulers are currently being displayed
//	false = rulers are not being displayed
//	NULL = error
//
//	Description:  Gets whether rulers are currently being displayed
//
//////////////////////////////////////////////////////////////////////////////
//
//	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.
//
//////////////////////////////////////////////////////////////////////////////

boolean	lb_rc
string		ls_rulers
n_cst_conversion	lnv_conversion

//////////////////////////////////////////////////////////////////////////////
// Check for valid requestor
//////////////////////////////////////////////////////////////////////////////
if IsNull(ids_requestor) Or not IsValid (ids_requestor) then
	SetNull (lb_rc)
	return lb_rc
end if

//////////////////////////////////////////////////////////////////////////////
// Get ruler display
//////////////////////////////////////////////////////////////////////////////
ls_rulers = ids_requestor.object.datawindow.print.preview.rulers
if ls_rulers = "?" then
	SetNull (lb_rc)
	return lb_rc
end if

return lnv_conversion.of_Boolean (ls_rulers)

end function

     
Name Owner
pfc_n_ds.pfc_ruler pfc_n_ds

     
Name Owner
systemfunctions.isnull systemfunctions
systemfunctions.isvalid systemfunctions
systemfunctions.setnull systemfunctions
pfc_n_cst_conversion.of_boolean pfc_n_cst_conversion

     
Full name
No Data

     
Name Scope
No Data