|
pfc_printpreview
|
|
Full name
|
pfc_n_ds.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 = Datastore is in printpreview
// false = Datastore is in editmode
//
// Description: Toggles the Datastore in printpreview/edit 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
lb_rc = inv_printpreview.of_GetEnabled()
lb_rc = not lb_rc
inv_printpreview.of_SetEnabled (lb_rc)
end if
return lb_rc
end event