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

Get help with using AutoHotkey 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: 4110
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”

Who is online

Users browsing this forum: Bing [Bot], blue83, Google [Bot], haeri and 256 guests