Cicode Programming Reference > Cicode Function Categories > Miscellaneous Functions > ShutdownForm

ShutdownForm

Displays a dialog box to verify that the user really wants to shut down the Citect SCADA system. If the user selects [Yes], Citect SCADA is shut down.

This function is a blocking function. It blocks the calling Cicode task until the operation is complete.

Syntax

ShutdownForm()

Return Value

0 (zero) if successful, otherwise an error code is returned.

Related Functions

Shutdown

Example

System Keyboard

Key Sequence

Shutdown

Command

ShutdownForm();

Comment

Display the shutdown form

Buttons

Text

Shutdown

Command

ShutdownForm();

Comment

Display the shutdown form

See Also

Miscellaneous Functions

Published June 2018