[a104] Unknown method error A_TrayMenu.Delete() Topic is solved

Get help for the alpha version of AutoHotkey v2 here. Please state the v2 version you are working with in the title when making a new topic.
User avatar
Maestr0
Posts: 81
Joined: 05 Dec 2013, 17:43

[a104] Unknown method error A_TrayMenu.Delete()  Topic is solved

18 Aug 2019, 07:29

[Moderator's note: See bug report.]

Why does this code throw an "Unknown method" error with a104?
It's example #3 from "tray menu (customizing)"

Code: Select all

global tray := A_TrayMenu ; For convenience.
tray.delete ; Delete the standard items.
tray.Add("reload", "reload")
Error: Unknown method.

Specifically: delete

Line#
001: tray := A_TrayMenu
---> 002: tray.delete()
003: tray.Add("reload", "reload")

Return to “AutoHotkey v2 Help”

Who is online

Users browsing this forum: No registered users and 1 guest