Found something that helped get me past this: http://www.techvanguards.com/products/eventsinkimp/ Still tweaking a bit to my liking, but all in all it seems like I am going to be good to go.... This tool made the process a lot easier than keying it all by hand.
________________________________ From: advanced_delphi@yahoogroups.com [mailto:advanced_del...@yahoogroups.com] On Behalf Of David Wright Sent: Sunday, June 21, 2009 11:15 AM To: advanced_delphi@yahoogroups.com Subject: [advanced_delphi] Replacing VB's "WithEvents" in Delphi? Hi All, I have been digging through google and have not been able to find a workaround, but I did find a few claims that there is not equivelant to WithEvents in Delphi. Is this still true? Here is a snippet of VB code I want to convert: Private WithEvents myPS autECLPS The entire rest of the API I am working with uses standard events processing, but this one last bit it crucial. I would hate to port everything to VB this point. My current workaround involves using a timer to keep checking for updates, but I would prefer to make this event driven instead. Currenltly I can turn on the event, but I cannot point it to an actual procedure :( Thanks for any thoughts, Dave