can i reffer g-label to my classes function? Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
smarq8
Posts: 69
Joined: 16 Jan 2016, 00:33

can i reffer g-label to my classes function?

25 Aug 2018, 13:04

Is it possible to redirect g-label to specyfied class function?

Code: Select all

class test
{
   create(){
      gui, add, edit, gClassCtrlEvent ; how to make it work?
   }

   ClassCtrlEvent(CtrlHwnd, GuiEvent, EventInfo, ErrLevel:=""){
   }
}
Helgef
Posts: 4709
Joined: 17 Jul 2016, 01:02
Contact:

Re: can i reffer g-label to my classes function?  Topic is solved

25 Aug 2018, 13:36

It is possible, but not with the glabel notation,
glabel wrote:the GuiControl command can be used to associate a function object with the control
Edit, link

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Beorn and 145 guests