PERCWIN_DESTROY ​
PERCWIN_DESTROY deletes a previously created percentage window (See PERCWIN_CREATE for details).
Syntax ​
leo-grammar
CC "AdoScript" PERCWIN_DESTROY
Parameters ​
none
Returns ​
none
Details ​
PERCWIN_DESTROY does not return a result.
See Also ​
PERCWIN_IS_CANCELED
PERCWIN_CREATE
PERCWIN_SET
Examples ​
asc
CC "AdoScript" PERCWIN_CREATE title:"Fortschritt:"
SET step:0
FOR i from:0 to:100 by:2 {
SET step:(step + 1)
CC "AdoScript" PERCWIN_SET percentage:(i) text:("Step " + STR step)
CC "AdoScript" SLEEP ms:200
}
CC "AdoScript" INFOBOX "Finished!"
CC "AdoScript" PERCWIN_DESTROY
Creates a percentage windows, updates it regularly and then closes it after the user was informed and clicked ok.
Versions and Changes ​
Available since ADOxx 1.3