Platforms to show: All Mac Windows Linux Cross-Platform

Back to DisplayMBS class.

DisplayMBS.Depth as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Resolution MBS Util Plugin ✅ Yes ✅ Yes ❌ No ❌ No Desktop only
Depth of the DisplayMBS.

Can be 8, 16 or 32. Other screen depths are not well supported.
(Read only property)

DisplayMBS.displaynum as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Resolution MBS Util Plugin ✅ Yes ✅ Yes ❌ No ❌ No Desktop only
DisplayNum is the number of the DisplayMBS

The number is always between 0 and DisplayCount-1, where 0 is the main monitor.
(Read only property)

DisplayMBS.GammaColor as color

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Resolution MBS Util Plugin ✅ Yes ❌ No ❌ No ❌ No Desktop only
The color for fading the DisplayMBS.

This property is read-only. To change it, use the methods of the DisplayMBS class and the Switch method of the ResolutionMBS class.
There is no fading for Windows.
(Read only property)

Some examples using this property:

DisplayMBS.GammaIntensity as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Resolution MBS Util Plugin ✅ Yes ❌ No ❌ No ❌ No Desktop only
GammaIntensity is the intensity of the monitor.

1000 is normal, if it is 0, the whole DisplayMBS is in the color GammaColor.
This property is read-only. To change it, use the methods of the DisplayMBS class and the Switch method of the ResolutionMBS class.
There is no fading for Windows.
(Read only property)

Some examples using this property:

DisplayMBS.Height as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Resolution MBS Util Plugin ✅ Yes ✅ Yes ❌ No ❌ No Desktop only
Height of the monitor.

(Read only property)

DisplayMBS.hz as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Resolution MBS Util Plugin ✅ Yes ✅ Yes ❌ No ❌ No Desktop only
frequency in Hz of that DisplayMBS
Example
dim d as DisplayMBS

d=GetDisplayMBS(0)

msgBox str(d.Hz)

On Windows:
Sometimes Hz is 0, this is when Windows itself does not know the frequency (at least it is so in my emulation, Virtual PC 3.0 with Win95).
The value should never be greater as the real frequency, so you can just ignore this.
(Read only property)

DisplayMBS.Left as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Resolution MBS Util Plugin ✅ Yes ✅ Yes ❌ No ❌ No Desktop only
The relative left offset to the other monitors.

Should be 0 for the main monitor.
(Read only property)

DisplayMBS.Top as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Resolution MBS Util Plugin ✅ Yes ✅ Yes ❌ No ❌ No Desktop only
The relative top offset to the other monitors.

Should be 0 for the main monitor.
(Read only property)

DisplayMBS.Width as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Resolution MBS Util Plugin ✅ Yes ✅ Yes ❌ No ❌ No Desktop only
Width of this screen.

(Read only property)

The items on this page are in the following plugins: MBS Util Plugin.


The biggest plugin in space...