Platforms to show: All Mac Windows Linux Cross-Platform

Back to WindowsConsoleMBS class.

WindowsConsoleMBS.Close

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Windows Console MBS Win Plugin 4.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The destructor.

There is no need to call this method except you want to free all resources of this object now without waiting for Xojo to do it for you.

WindowsConsoleMBS.FlushConsole

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Windows Console MBS Win Plugin ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The FlushConsole function flushes the console input buffer.

All input records currently in the input buffer are discarded.

WindowsConsoleMBS.ReadConsole(maxcount as Integer) as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Windows Console MBS Win Plugin ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Reads maximum of maxcount characters from the input stream.

Some examples using this method:

WindowsConsoleMBS.SetCursorPosition(x as Integer,y as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Windows Console MBS Win Plugin ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Sets the cursor position inside the console window.

WindowsConsoleMBS.SetWindowPosition(absolute as boolean, left as Integer,top as Integer, right as Integer, bottom as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Windows Console MBS Win Plugin ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Sets the window position and size.

If absolute=false, the coordinates are relative to the current one.

WindowsConsoleMBS.State as ConsoleStateMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Windows Console MBS Win Plugin ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The current state of the console window.

WindowsConsoleMBS.WriteConsole(message as string) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Windows Console MBS Win Plugin ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Writes the message to the console.

Returns true if successfull.

Some examples using this method:

The items on this page are in the following plugins: MBS Win Plugin.


The biggest plugin in space...