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
}
Code: Select all
Gui, Add, Edit, w200 gEdit vEdit
Gui, Show, h300 w400
return
Edit()
{
msgbox OK
return
}
https://www.autohotkey.com/docs/commands/Gui.htm#Events[v1.1.20+]: If not a valid label name, a function name can be used instead.
Thank you!Datapoint wrote: ↑30 Jun 2019, 02:17https://www.autohotkey.com/docs/commands/Gui.htm#Events[v1.1.20+]: If not a valid label name, a function name can be used instead.