|
pfc_print
|
|
Full name
|
pfc_w_message.pfc_print
|
Access
|
public
|
Extend of
|
|
Return value
|
|
Prototype
|
event pfc_print()
|
Name
|
Datatype
|
lds_printmessage
|
n_ds
|
li_rc
|
Integer
|
event pfc_print;call w_response::pfc_print;//////////////////////////////////////////////////////////////////////////////
//
// Event: pfc_print
//
// (Arguments: None)
//
// (Returns: None)
//
// Description: Print the message.
//
//////////////////////////////////////////////////////////////////////////////
//
// 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.
//
//////////////////////////////////////////////////////////////////////////////
Integer li_rc
n_ds lds_printmessage
// Create the print datastore.
lds_printmessage = Create n_ds
lds_printmessage.DataObject = 'd_messageprint'
// Insert one row.
li_rc = lds_printmessage.InsertRow(0)
// Populate the row with the on-screen information.
li_rc = lds_printmessage.SetItem(1, 'title', this.Title)
li_rc = lds_printmessage.SetItem(1, 'message', mle_message.Text)
li_rc = lds_printmessage.SetItem(1, 'comments', mle_userinput.Text)
// Print the information
li_rc = lds_printmessage.Print()
return 1
end event
Name
|
Owner
|
datastore.insertrow |
datastore
|
datastore.print |
datastore
|
datastore.setitem |
datastore
|
pfc_w_master.pfc_print |
pfc_w_master
|