Xojo Conferences
MBSOct2019CologneDE

Platforms to show: All Mac Windows Linux Cross-Platform

DisableAquaPrefMenuMBS
Type Topic Version
global method Mac
Function: Disables the preference menu item.
Example:
DisableAquaPrefMenuMBS
Notes: In RB 4.5 use the PrefMenuItem instead of this function.

Some examples using this method:

Feedback, Comments & Corrections

EnableAquaPrefMenuMBS
Type Topic Version
global method Mac
Function: Enables the preference menu item.
Example:
EnableAquaPrefMenuMBS
Notes:
In RB 4.5 use the PrefMenuItem instead of this function.

Use some code like this in the Applications HandleEventHandler:

#if targetcarbon // Doesn't make sense else

// Check if it is the preferences call

if eventClass = "aevt" and eventID = "pref" then

prefdialog.showmodal ' do your stuff here

return true // We handled that Apple Event
end if

#endif

Some examples using this method:

Feedback, Comments & Corrections




Links
MBS Xojo PDF Plugins