System

From Xojo Documentation

Module

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

Properties
AddressBook fa-lock-32.png Keychain fa-lock-32.png Network fa-lock-32.png
CommandLine fa-lock-32.png MouseDown fa-lock-32.png NetworkInterfaceCount fa-lock-32.png
Cursors fa-lock-32.png MouseX fa-lock-32.png SerialPortCount fa-lock-32.png
KeyChainCount fa-lock-32.png MouseY fa-lock-32.png WebCursors fa-lock-32.png


Methods
DebugLog IsFunctionAvailable PenType
EnvironmentVariable Log SerialPort
Gestalt PenButtonPushed
GetNetworkInterface PenPressure

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, SerialPort classes; App, Cursors, NetworkInterface objects.