PMS32 Online- Hilfereferenz

MY.SYSTEMS.SYSINFO

SysInfo - Gibt Informationen von WINDOWS zurück


Hilfe: Windows Systeminformationen
Gibt Informationen von WINDOWS zurück


Code: Windows Systeminformationen
*/ Kurzbeispiel für den Zugriff auf diese Struktur
*/ Der Zugriff erfolgt über: My.Systems.SysInfo
*/ Wird dieses Objekt in einem REPLACE oder einer Schleife SCAN ... ENDSCAN | FOR ... NEXT benötigt
*/ so sollte vor der Schleife die Objektstruktur in eine Variable geholt werden!
*/ Die Ausführungsgeschwindigkeit wird dadurch sehr vergrößert!
*/ Beispiel:
*/ Definieren einer LOKALEN Variablen
LOCAL loSysInfo AS My.Systems.SysInfo
*/ Setzen der Variablen
loSysInfo = My.Systems.SysInfo
*/ Jetzt erst die Schleifen durchlaufen... man beachte ALL, dass können ne Menge Sätze sein...
REPLACE ALL Feldname1 WITH loSysInfo.Function1(),Feldname2 WITH loSysInfo.Function1(), ...
*/ Oder in einer Schleife...
SCAN
	lvValue = loSysInfo.Function(Alias.Spalte) + 25
	lvValue = loSysInfo.Function2(m.lvValue)
	REPLACE Feldname WITH m.lvValue,...
ENDSCAN
*/ Es sind auch geschachtelte Aufrufe möglich...

Memberliste von SysInfo


Liste der Methoden von SysInfo


AboutBox() - About


Hilfeinformation

Aufrufinformation
Variant = My.Systems.SysInfo.AboutBox()
Codeinformation


Liste der Properties von SysInfo


ACStatus -

Returns a value that indicates whether or not the system is using AC power.
Hilfeinformation
Returns a value that indicates whether or not the system is using AC power.

Aufrufinformation
sInteger = My.Systems.SysInfo.ACStatus
Codeinformation


BatteryFullTime -

Returns a value that indicates the full charge life of the battery.
Hilfeinformation
Returns a value that indicates the full charge life of the battery.

Aufrufinformation
Integer = My.Systems.SysInfo.BatteryFullTime
Codeinformation


BatteryLifePercent -

Returns the percentage of full battery power remaining.
Hilfeinformation
Returns the percentage of full battery power remaining.

Aufrufinformation
sInteger = My.Systems.SysInfo.BatteryLifePercent
Codeinformation


BatteryLifeTime -

Returns a value that indicates the remaining life of the battery.
Hilfeinformation
Returns a value that indicates the remaining life of the battery.

Aufrufinformation
Integer = My.Systems.SysInfo.BatteryLifeTime
Codeinformation


BatteryStatus -

Returns a value that indicates the status of the battery's charge.
Hilfeinformation
Returns a value that indicates the status of the battery's charge.

Aufrufinformation
sInteger = My.Systems.SysInfo.BatteryStatus
Codeinformation


OSBuild -

Returns a value that provides information about the operating system under which the application is currently running. Not available at design time.
Hilfeinformation
Returns a value that provides information about the operating system under which the application is currently running. Not available at design time.

Aufrufinformation
sInteger = My.Systems.SysInfo.OSBuild
Codeinformation


OSPlatform -

Returns a value that identifies the operating system under which the application is currently running. Not available at design time.
Hilfeinformation
Returns a value that identifies the operating system under which the application is currently running. Not available at design time.

Aufrufinformation
sInteger = My.Systems.SysInfo.OSPlatform
Codeinformation


OSVersion -

Returns a value that identifies the version of the operating system under which the application is currently running. Not available at design time.
Hilfeinformation
Returns a value that identifies the version of the operating system under which the application is currently running. Not available at design time.

Aufrufinformation
Single = My.Systems.SysInfo.OSVersion
Codeinformation


ScrollBarSize -

Returns the system metric for the width of a scroll bar in twips.
Hilfeinformation
Returns the system metric for the width of a scroll bar in twips.

Aufrufinformation
Single = My.Systems.SysInfo.ScrollBarSize
Codeinformation


WorkAreaHeight -

Returns the height of the visible desktop adjusted for the Windows 95 taskbar. Not available at design time.
Hilfeinformation
Returns the height of the visible desktop adjusted for the Windows 95 taskbar. Not available at design time.

Aufrufinformation
Single = My.Systems.SysInfo.WorkAreaHeight
Codeinformation


WorkAreaLeft -

Returns the coordinate for the left edge of the visible desktop adjusted for the Windows 95 taskbar. Not available at design time.
Hilfeinformation
Returns the coordinate for the left edge of the visible desktop adjusted for the Windows 95 taskbar. Not available at design time.

Aufrufinformation
Single = My.Systems.SysInfo.WorkAreaLeft
Codeinformation


WorkAreaTop -

Returns the coordinate for the top edge of the visible desktop adjusted for the Windows 95 taskbar. Not available at design time.
Hilfeinformation
Returns the coordinate for the top edge of the visible desktop adjusted for the Windows 95 taskbar. Not available at design time.

Aufrufinformation
Single = My.Systems.SysInfo.WorkAreaTop
Codeinformation


WorkAreaWidth -

Returns the width of the visible desktop adjusted for the Windows 95 taskbar. Not available at design time.
Hilfeinformation
Returns the width of the visible desktop adjusted for the Windows 95 taskbar. Not available at design time.

Aufrufinformation
Single = My.Systems.SysInfo.WorkAreaWidth
Codeinformation


Siehe auch : Hauptmenü /  Hauptindex /  Such Index /  Cursor Index /  Programm Module /  Tabellen Index /  Tabellenmodule /  Masken Index /  Programmcode Index /  Servicepacks /  My.Struktur /  Funktionen /  Sonstiges Index

Lokale Benutzerhilfe : Meine eigene Hilfe /  Zurück zur PMS32 - Hilfe


Dateiversion:1.0.04#3648 - H.U.DD#SSFF 02.12.2022  Senden Sie Ihren Kommentar zu diesem Thema an das Entwicklungsteam von PMS32  Weitere Informationen finden Sie unter der aktuellen PMS32 WEB-Hilfe
Die Informationen dieser Mitteilung sind vertraulich und nur für Sie bestimmt. Unbefugtes Weiterleiten,  Veröffentlichen, Kopieren usw. sind untersagt und werden gerichtlich verfolgt.  © PMS Compelec GmbH 2022 ® el-Projekt