I used to drop TZipForge component on a form so I could use its event handlers. Now, I’m using several thread worker to extract some zip files, therefore I create an instance of the TZipForge class as a local variable. How do I make the event handlers without Event tab in Object Inspector?
Share
To create a event hanlder manually yo must create a procedure with match with the declaration of the target event and then assign the Address of that procedure to the event of the class, for example if you want to create a event handle for the
OnFileProgressevent you must create a procedure like this inside of your class.Check this sample