|
pfc_ruler
|
|
Full name
|
pfc_n_ds.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
//
//////////////////////////////////////////////////////////////////////////////
//
// Revision History
//
// Version
// 6.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
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