Page 1 of 1

InstallEventHandler() in CLASS Code ?

Posted: Wed Dec 09, 2020 4:47 am
by AUGE_OHR
hi,

i saw Owner buttons using OBTN_* Function.
now i want to re-write it in CLASS Code but i have a Problem with EventHandler as it use a Procedue/Function Name.

Code: Select all

   InstallEventHandler(self:MyEvent) // fail
   InstallEventHandler("self:MyEvent") // fail
   InstallEventHandler("MyEvent",self) // no parameter ?   
how to use it with CLASS Code :idea: