InstallEventHandler() in CLASS Code ?

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
User avatar
AUGE_OHR
Posts: 2093
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

InstallEventHandler() in CLASS Code ?

Post 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:
have fun
Jimmy
Post Reply