ActivityConsoleHide

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > DBWCommandShell > Commands Reference > UserInterface >

ActivityConsoleHide

Description

The command hides the ActivityConsole.

Syntax

call DBWShell("ActivityConsoleHide")

Remarks

It hides without resetting the console content.
The next ActivityConsolePrint will show again the console.

See also

ActivityConsoleHide
ActivityConsoleCleanAll
ActivityConsolePrint

Example

Sub main()

 DBWInit(TRUE)
 DBWShell("ActivityConsoleCleanAll")
 msg1 = replace("this is a message"," ","|")
 msg2 = replace("that has been written"," ","|")
 msg3 = replace("on the console"," ","|")
 DBWShell("ActivityConsolePrint " & msg1)
 DBWShell("ActivityConsolePrint " & msg2)
 DBWShell("ActivityConsolePrint " & msg3)
 DBWMsgBox "The console will now be closed ..."
 DBWShell("ActivityConsoleHide")
End Sub