One of the biggest reasons I don't call & don't recommend calling the
procedure directly is that there may be multiple handlers for the event.
By calling the handlers directly you are coupling that code to the handlers
themselves. By calling PerformClick you are only coupled to the button
itself. The number of handlers is immaterial...
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.