Can the function name be used as the g-Label name? Topic is solved

Get help with using AutoHotkey and its commands and hotkeys
afe
Posts: 560
Joined: 06 Dec 2018, 04:36

Can the function name be used as the g-Label name?

30 Jun 2019, 01:50

Hello,

In the manual, I did not find such an introduction, but it does work. Like the example below,

Code: Select all

Gui, Add, Edit, w200 gEdit vEdit
Gui, Show, h300 w400
return

Edit()
{
    msgbox OK
    return
}
Is this a supported grammar?
afe
Posts: 560
Joined: 06 Dec 2018, 04:36

Re: Can the function name be used as the g-Label name?

30 Jun 2019, 09:49

Datapoint wrote:
30 Jun 2019, 02:17
[v1.1.20+]: If not a valid label name, a function name can be used instead.
https://www.autohotkey.com/docs/commands/Gui.htm#Events
Thank you!

Return to “Ask For Help”

Who is online

Users browsing this forum: AHKStudent, Bing [Bot], Google [Bot], Rohwedder and 44 guests