Detects system events such as desktop resizing, resolution changes, time changes. Also provides operating system platform and version information and changes in AC/battery power status and Plug/Play hardware configuration. Used when writing applications for portable devices (GIS in the field) and for developing info for your tech support team.
There are no properties settable at design time for the SysInfo control. It is invisible at run time
Frequently Used Run Time Properties and Events
In addition to the properties listed below, a Control tab provides access to certain frequently used form properties for this control. See the Form Properties topic for information on those properties.
|
|
SysInfo |
|
|
|
|
Operating System |
|
|
OSPlatform |
Operating system. |
|
OSVersion |
Version of the operating system. |
|
OSBuild |
Build number of the operating system. |
|
|
|
|
Desktop |
|
|
ScrollBarSize |
Width of scroll bar in twips. |
|
WorkAreaHeight, WorkAreaLeft, WorkAreaTop, WorkAreaWidth |
Height, left edge, top edge, and width of visible desktop adjusted for the Windows taskbar. |
|
DisplayChanged |
Occurs when screen resolution changes. |
|
SysColorsChanged |
Occurs when system color setting changes. |
|
|
|
|
|
Note: Plug and Play hardware events are not listed in this table. |
|
|
|
|
Power |
|
|
ACStatus |
System using AC or battery power. |
|
BatteryFullTime |
Value indicating full charge life of battery. |
|
BatteryLifePercent |
Percentage of battery power remaining. |
|
BatteryLifeTime |
Value indicating remaining life of battery. |
|
BatteryStatus |
Status of battery's charge. |
|
PowerQuery Suspend |
Occurs when system power about to be suspended. |
|
PowerResume |
Occurs when system comes out of suspend mode. |
|
PowerStatus Changed |
Occurs when power status of system changes. |
|
PowerSuspend |
Occurs immediately before the system goes into suspend mode. |
|
|
|
|
|
|