|
pfc_ruler
|
|
Full name
|
pfc_u_dw.pfc_ruler
|
Access
|
public
|
Extend of
|
boolean
|
Return value
|
boolean
|
Prototype
|
event boolean pfc_ruler()
|
Name
|
Datatype
|
lb_rc
|
boolean
|
event pfc_ruler;//////////////////////////////////////////////////////////////////////////////
// Event: pfc_ruler
// Arguments: None
// Returns: boolean
// true = Printpreview rulers are displayed
// false = Printpreview rulers are not displayed
// Description: Toggles the ruler display in printpreview 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
if inv_PrintPreview.of_GetEnabled() then
lb_rc = inv_PrintPreview.of_GetRuler()
lb_rc = not lb_rc
inv_PrintPreview.of_SetRuler (lb_rc)
end if
end if
return lb_rc
end event