Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

DisableScreenUpdatesMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Window MBS MacOSX Plugin 8.7 Yes No No Yes, macOS only No
Function: Temporarily disables redraw of the screen after changes to window geometry or window contents.
Notes:
It is appropriate to disable updates if you are moving or resizing multiple windows and you want all of the geometry changes to appear onscreen simulataneously. In most other cases, you should strive to avoid disabling screen updates. The window server will automatically re-enable updates (and print a message to the Console log) if you leave updates disabled for a sufficiently long period of time, currently about 1 second.

The window server records the number of calls to DisableScreenUpdates and does not re-enable updates until a matching number of calls to EnableScreenUpdates have been made.

Feedback, Comments & Corrections

EnableScreenUpdatesMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Window MBS MacOSX Plugin 8.7 Yes No No Yes, macOS only No
Function: Re-enables redraw of the screen after changes to window geometry or window contents.
Notes: Screen redraw is not actually enabled until the number of calls to EnableScreenUpdatesMBS matches the number of calls to DisableScreenUpdatesMBS.

Feedback, Comments & Corrections

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




Links
MBS FileMaker tutorial videos