Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

ResolutionLibraryPresentMBS as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Resolution MBS Util Plugin Yes No No No No
Function: Returns true if the DisplayManager library file was found.
Example:
if not ResolutionLibraryPresentMBS then
msgbox "I'm missing the shared library 'DisplayManager'."
end if
Notes:
This library should be present on all Mac OS Classic versions. (It is in the system suitcase.)
Returns always true on Windows.

Some examples using this method:

Feedback, Comments & Corrections

ResolutionMBS.Switch As Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Resolution MBS Util Plugin Yes Yes No No No
Function: This function switches the DisplayMBS to the ResolutionMBS and returns true if the attempt was successful.
Notes:
If IsSafe is false, show a dialog after the switch asking the user if that ResolutionMBS is okay. If the user presses escape or clicks cancel, you should immediatly switch back to the old ResolutionMBS. Especially on VGA-Monitors not all listed frequencies work.
On Mac OS X till now no ResolutionMBS can be called safe.

Feedback, Comments & Corrections

UpdateDisplayCountMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Resolution MBS Util Plugin 8.0 Yes Yes No No No
Function: Rebuilds the display list.
Notes: If new displays are attached or removed, this method needs to be called.

Feedback, Comments & Corrections

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




Links
MBS Xojo Plugins