Do this so the metadata is correct for windows apps, which
means it will be wrong for WebApps.
Construct_Object()
Update_Status(string Val)
------------------------------------------------------------------------
Status Panel related Messages
Send Start_Status
Send Resume_Status
Send End_Status
Send Update_Status StatusString
------------------------------------------------------------------------
- Integer
StatPnl
Start_Status()
- Integer
StatPnl
Resume_Status()
- Integer
StatPnl
End_Status()
- Integer
StatPnl
Start_Log()
------------------------------------------------------------------------
Status Logging related Messages
Send Start_log
Send End_Log
Send Error_Log_Status Error_Info Error_Mess
Send Log_Status StatusString
------------------------------------------------------------------------
End_Log()
- Integer
ErrCount
Error_Log_Status(integer Errnum integer iErrLine string ErrMsg)
Log_Status(String Mess)
- Integer
StatId
- Integer
Process_Interrupt()
------------------------------------------------------------------------
Error and process interupt related Messagss
Function Process_Interrupt Returns integer
Get Cancel_Check to bShouldStop
Procedure Error_Report integer Error_Info String ErrorMess
Procedure onError integer Error_info string ErrorMess
------------------------------------------------------------------------
This pops up a message asking if a process should
be canceled. Returns non-zero if cancel. This could be
augmented, should not be sent.
- Integer
rVal - String
Mess
- Integer
Cancel_Check()
Public way to tell if a process should be canceled.
This should be sent but probably not augmented
check for report interrupt
Returns True to stop report, false to continue
- Integer
StatPnl - Integer
StopIt
Error_Report(integer ErrNum integer iErrLine string ErrMsg)
All errors are directed to the main report. By Default we
shut off the status panel, report the error and notify the interrupt
mechanism to ask if the report should be canceled. VERY IMPORTANT!
If you augment this and you plan on doing ANY windows IO you should
first shut of the status panel.
- Integer
id
OnError(integer ErrNum integer iErrLine string ErrMsg)
Event called by Error_Report. For augmentation.
If you are planning on doing any interactive IO and you are
using the status panel you must first remove the panel
(send End_Status).
Start_Process()
------------------------------------------------------------------------
Process related Messages
Send Start_Process
Send onProcess
Send End_Process
Send DoProcess
------------------------------------------------------------------------
End_Process()
OnProcess()
This runs the actual busiess process. It is expected that most
if not all of the custom code to run a process will be provided
here.
DoProcess()
This procedure is the main public access method into this
object. A process is run by sending this message. It will start
the process, call a user defined Hook (event) to actually do
the processing, and then end the process.