Tuesday, December 06, 2016

Tip of the Day: Managing Monitors and Monitor Properties
Product.......: R:BASE X/X Enterprise (Version 10)
Build.........: 10.0.2.11130 or higher
Section.......: Commands
Keywords......: GETPROPERTY, Monitors

Did you know that there are new GETPROPERTY command parameters to help
manage multi-monitor hardware environments?

For instance, the functionality to return the number of monitors
connected to a system, is available using the GETPROPERTY command
as follows:

GETPROPERTY APPLICATION MONITOR_COUNT vMonitorCount

In addition, the following GETPROPERTY command has been implemented to
return the monitor screen size properties, using the value of X as a
zero based index.

GETPROPERTY APPLICATION MONITOR_PROPERTY[X] VarName

The result is a comma separated list of values in the following format:

MonitorNumber,MonitorIsPrimaryYN,MonitorLeft,MonitorTop,MonitorWidth,
MonitorHeight,MonitorWorkareaLeft,MonitorWorkareaTop,MonitorWorkareaRight,
MonitorWorkareaBottom

The "WorkArea" properties is the monitor area, less the task bar area.

Example:

GETPROPERTY APPLICATION MONITOR_PROPERTY[0] vMonitorProps
SHOW VAR vMonitorProps
0,Y,0,0,1920,1080,0,0,1920,1040

Very Best R:egards,

Razzak.

www.rbase.com
www.facebook.com/rbase
--
33 years of continuous innovation!
18 Years of R:BASE Technologies, Inc. making R:BASE what it is today!
--


--
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to