|
of_message
|
|
Full name
|
pfc_n_cst_error.of_message
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_message(string,string,icon,button,integer,integer,boolean,boolean)
|
Name
|
Datatype
|
ls_errorpass
|
n_cst_errorattrib
|
public function integer of_message (string as_title, string as_text, icon ae_icon, button ae_buttonstyle, integer ai_default, integer ai_severity, boolean ab_print, boolean ab_userinput);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_Message
//
// Access: public
//
// Arguments:
// as_title The message Title
// as_text The message Text.
// ae_icon The icon you want to display on the left side of the response window.
// ae_buttonstyle Set of CommandButtons you want to display at the bottom of the
// response window.
// ai_default The number of the button you want to be the default button.
// ai_severity The number indicating the severity of this message.
// ab_print Flag to indicate if the print button should be available.
// ab_userinput Flag to indicate if the userinput button should be available.
//
// Returns: integer
//
//
// Description: This function is called within an application to
// display a message, i.e. messagebox.
//
//////////////////////////////////////////////////////////////////////////////
//
// Revision History
//
// Version
// 5.0 Initial version
// 5.0.02 Added user value to structure information.
//
//////////////////////////////////////////////////////////////////////////////
//
// 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.
//
//////////////////////////////////////////////////////////////////////////////
// Clear the instance structure.
n_cst_errorattrib ls_errorpass
inv_errorpass = ls_errorpass
//-- Initialize the instance structure. --
inv_errorpass.is_title = as_title
inv_errorpass.is_text = as_text
inv_errorpass.ie_icon = ae_icon
inv_errorpass.ie_buttonstyle = ae_buttonstyle
inv_errorpass.ii_default = ai_default
inv_errorpass.ii_severity = ai_severity
inv_errorpass.ib_print = ab_print
inv_errorpass.ib_userinput = ab_userinput
inv_errorpass.is_user = is_user
// Call function to Process Message.
Return of_ProcessMessage()
end function