System

From Xojo Documentation

Revision as of 16:34, 3 April 2021 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Module

The properties of the System module are used to get information about the computer running the application.

Properties
CommandLine fa-lock-32.png KeychainCount fa-lock-32.png MouseY fa-lock-32.png
Cursors fa-lock-32.png LastFontIndex fa-lock-32.png Network fa-lock-32.png
FontCount fa-lock-32.png MouseDown fa-lock-32.png NetworkInterfaceCount fa-lock-32.png
Keychain fa-lock-32.png MouseX fa-lock-32.png WebCursors fa-lock-32.png


Methods
Beep Log Random
DebugLog Microseconds Speak
Device NetworkInterface Ticks
EnvironmentVariable PenButtonPushed Version
FontAt PenPressure
IsFunctionAvailable PenType

Class Constants

PenType

The following class constants can be used with the PenType method to determine the type of pen in use with an attached graphics tablet.

Class Constant Description
PenTypeNone No pen.
PenTypeTip The tip end of the pen is in use.
PenTypeEraser The eraser end of the pen is in use.

Notes

MouseX and MouseY return coordinates with respect to the top-left corner of the user's monitor. The Window and Control classes contain MouseX and MouseY properties that are referenced to the window (in the case of the Control class, the control's parent window).

Multiple Interface Support

Multiple network interface support enables you to write applications that can bind to different NIC cards installed on a user's machine. For example, you can use this to write tunneling applications. To see what interfaces are installed on the user's machine, you can use the GetNetworkInterface method and assign the obtained interface object to a NetworkInterface property of the SocketCore class.

See Also

Application, MouseCursor; App, Cursors, NetworkInterface objects.