|
pfc_printpreview
|
|
Full name
|
pfc_u_dw.pfc_printpreview
|
Access
|
public
|
Extend of
|
boolean
|
Return value
|
boolean
|
Prototype
|
event boolean pfc_printpreview()
|
Name
|
Datatype
|
lb_rc
|
boolean
|
event pfc_printpreview;//////////////////////////////////////////////////////////////////////////////
// Event: pfc_printpreview
// Arguments: None
// Returns: boolean
// true = DataWindow is in printpreview
// false = DataWindow is in editmode
// Description: Toggles the DataWindow in printpreview/edit 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
lb_rc = inv_PrintPreview.of_GetEnabled()
lb_rc = not lb_rc
inv_PrintPreview.of_SetEnabled (lb_rc)
end if
return lb_rc
end event