Click here to return to the KiXtart HelpDesk main page...

KiXtart Command Reference

SETCONSOLE

action

Allows you to change the display state of the command-prompt window in which KiXtart is running.

syntax

SETCONSOLE("mode")

parameters

Mode

String that specifies the new display state. The following table shows the display states that are supported by this function.

SHOW

Show window

HIDE

Hide window

FOREGROUND

Move window to foreground

ALWAYSONTOP

Bring window to top

MINIMIZE

Minimize window

MAXIMIZE

Maximize window

remarks

If you hide the window, it does not disappear from the system, but remains active.

returns

0

Display state changed

Error code

Function failed

example

If SetConsole ("FOREGROUND") = 0

   ? "Console moved to foreground......"

Endif