Need to access the private members for Event handling?

I'm deriving a component out of your component and I find that I need access to the private data member TIPInfoRequestCompleteEvent FOnRequestComplete for event handling.

Date Entered: 09/22/1997    Last Updated: 09/22/1997

C++ provides a more generic support for these cases: the function FireEventName (check the included .H file) is a public virtual function which you should override to provide your treatment.

You can call the overridden function within your code to provide the default behavior like IPInfo::OnRequestComplete. The default behavior is calling the event handler assigned to the property OnRequestComplete at the Object Inspector.


We appreciate your feedback.  If you have any questions, comments, or suggestions about this entry please contact our support team at kb@nsoftware.com.