Code: Select all
test:= new testClass()
f1::
msgbox, % test.Recentlychanged().1
return
Class testClass {
setid()
{
ControlGuid:=34 , value:= 56
this.Recentlychanged(ControlGuid,value)
}
Recentlychanged(ControlGuid:="",value:="")
{
static t
if (ControlGuid)
{
t:=[]
t[1]:=ControlGuid , t[2]:=value
}
return t
}
}
any help would be mush appreciated.
i have been scratching my head for 2 days