Hi Rob: --- In [email protected], Rob Kennedy <[EMAIL PROTECTED]> wrote: > > As well it shouldn't. The types are wrong, so even if the compiler > allowed it, the button control would have no way of calling that method. > It only knows how to call one-argument method pointers, not > three-argument method pointers.
--> Agreed, I am happy the comiler is doing the work for me. > Define a private method of your wrapper class to match the TNotifyEvent > signature. Assign that method to the speed button's OnClick event. > Within that method, call the three-argument event handler that you > expose to users of your wrapper component. > ---> I tried something like that but could not get it to work. Do you have code you could show? I am likely missing the one little piece that I need. Ideally, the wrapper object would have an event that would publish this for the outside world. That is what I was thinking. The handler would be assigned to the new event; internal to the wrapper class, the original OnClick would be set so that it would fire the handler (if defined.) Thanks jamie

