MACROMEDIA COLDFUSION STUDIO 5-USING COLDFUSION 5 STUDIO Use Manual page 234

Table of Contents

Advertisement

216
Example
function Main(){
with (Application){
InstallParserScript('D:\\Download\\XHTML_2.scc', 'xhtml');
}
}
LogMemoryStatus
Syntax
LogMemoryStatus(const wsLogFile, wsDescrip: WideString);
Description
Writes the current memory status to a log file,
the file if it does not exist, otherwise appends status to the file. The description text
for the entry is entered in
Example
function Main(){
with (Application){
LogMemoryStatus('D:\\Test\\MemLog.txt', 'Application Start');
}
}
MessageBox
Syntax
MessageBox(const wsText, wsCaption: WideString, nType: Integer):
Integer;
Description
Displays a message dialog box for obtaining a user response. The
determines the type of dialog box displayed, and uses a combination of the following
sets of values:
MB_ICONINFORMATION = 64
MB_ICONWARNING = 48
MB_ICONQUESTION= 32
MB_ICONSTOP= 16
MB_ABORTRETRYIGNORE= 2
MB_OK = 0 (Default)
MB_OKCANCEL = 1
MB_RETRYCANCEL = 5
MB_YESNO = 4
MB_YESNOCANCEL = 3
The function's result contains the ID of the button that the user clicked.
The following ID values are allowed:
IDOK = 1
IDCANCEL = 2
IDABORT = 3
IDRETRY = 4
IDIGNORE = 5
IDYES = 6
IDNO = 7
IDCLOSE = 8
Chapter 14 Scripting the Visual Tools Object Model
wsLogFile: logfilename.
.
wsDescrip: text
Creates
nType
parameter

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COLDFUSION STUDIO 5-USING COLDFUSION 5 STUDIO and is the answer not in the manual?

This manual is also suitable for:

Coldfusion studio 5

Table of Contents