DesktopApplication.AppleEventReceived

From Xojo Documentation

Revision as of 18:11, 23 July 2021 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!
Event


DesktopApplication.AppleEventReceived(Event as AppleEvent, EventClass as String, EventID as String) As Boolean

New in 2021r3

Supported for all project types and targets.

An AppleEvent has been received.

Notes

Return True to accept the AppleEvent and False to reject it.

Intrinsic AppleEvents, such as "aevt/odoc", "aevt/quit", and "aevt/pref", are passed to this event handler first. If you return True, the default behavior will no longer take place. For example, if you return True for the "odoc" event, the OpenDocument event will not be called.