is there a way for a subclass of a control to create an event that would fire if its ENABLED status changed
or do I have to create a new “isEnabled” event of my own?
is there a way for a subclass of a control to create an event that would fire if its ENABLED status changed
or do I have to create a new “isEnabled” event of my own?
@Dave S To my knowledge, the short answer is “NOT with Xojo”.
I have already tried in the past, but there is always a problem somewhere (like you cannot overload a property with a computed property and there is no “enableChange” event).
On macOS, you may want to use KVO (Key-Value Observing) to observe changing of an object property.