I am creating a custom Button class, and I would like to be able to define a unique function for each button that it will call when it's clicked. Is this doable using a function pointer as a field of the type? If so, anyone have an example?
I tried implementing this earlier, but it didn't seem to work.
Thanks
I tried implementing this earlier, but it didn't seem to work.
Thanks