Mioplanet Documentation Center
Resources and Help
HomeProductsMioScriptJavaScriptTechNotesPHP
   Home | MioScript | app.cancelClose SEARCH    

  Functions
app.autoRestart
app.booster
app.cancelClose
app.close
app.filename
app.getParam
app.icon
app.init
app.install
app.language
app.maintenance
app.minimize
app.name
app.openAtStartup
app.restart
app.restore
app.setup
app.title
app.uninstall
app.uninstall.create
app.uninstall.remove

  Events
event.initialize
event.load
event.terminate

  MioScript Reference
> Statements
app...
browser...
dialog...
disk...
draw...
extern...
filename...
keyboard...
menu...
mio...
mouse...
num...
path...
pushButton...
reg...
RS232...
sci...
screen...
shortcut...
sound...
str...
system...
time...
var...
window...

Function
app.cancelClose

Language: MioScript
Product: MioFactory


Syntax

app.cancelClose(Value)


Parameters

BOOLValuetrue|false


Return value

No value is returned.


Description

Allows you the chance to cancel the application's termination from the event event.terminate.

This function is useful if you want to prompt a confirmation dialog box before the application is closed.