DesktopMenuItem.Handle

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Read-Only Property (As Ptr )
PtrValue = aDesktopMenuItem.Handle

New in 2021r3

Supported for all project types and targets.

Provides access to the appropriate underlying Linux or macOS menu implementation.

Read-Only Property (As Ptr )
PtrValue = aDesktopMenuItem.Handle(type As DesktopMenuItem.HandleTypes)

New in 2021r3

Supported for all project types and targets.

Provides access to the appropriate underlying Windows OS menu implementation.

Notes

Passing a type as a parameter to this method on Linux or macOS will result in a PlatformNotSupportedException.