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

OverlayMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Window MBS Overlay Plugin 8.6 Yes Yes No No No
Function: This class gives you a window overlaying all other windows with an alpha channel.
Example:
dim o as OverlayMBS
dim p as Picture

o=new OverlayMBS(100,100,300,300)

p=NewPicture(300,300,32)
p.Graphics.ForeColor=&c000000
p.Graphics.FillRect 0,0,300,300

o.Pict=p

p=NewPicture(300,300,32)
p.Graphics.ForeColor=&c000000
p.Graphics.FillOval 0,0,300,300
p.Graphics.ForeColor=&cFFFFFF
p.Graphics.FillOval 100,100,100,100

o.Mask=p

o.UpdateShow

// wait 5 seconds to see the window
DelayMBS 5
Notes:
Requires Mac OS X 10.3.9 or Windows 2000 or newer.

Cocoa implementation added with Mac OS X 10.4 class.
To support high resolution mode on Mac OS X high resolution displays, please make the picture+mask exact the double width and height of the window.

Feedback, Comments & Corrections

This class has no sub classes.

Some examples which use this class:


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


OSAScriptViewMBS   -   OverlayWindowMBS




Links
MBS FileMaker tutorial videos