Hi,
I have a form on which I have created a property. Whenever that property is changed, ie whenever it is 'set', I want to raise a custom event to go off and do some other stuff.
Can anyone tell me how to do that?
The property is called 'Status', so I'm looking to have an event something like 'Status_Changed' so that I can change various other characteristics of the form dependent upon what the Status is. I could just put code within the property set to do these things but I'd prefer a custom event - seems more elegant(?)
Cheers
Pete
I have a form on which I have created a property. Whenever that property is changed, ie whenever it is 'set', I want to raise a custom event to go off and do some other stuff.
Can anyone tell me how to do that?
The property is called 'Status', so I'm looking to have an event something like 'Status_Changed' so that I can change various other characteristics of the form dependent upon what the Status is. I could just put code within the property set to do these things but I'd prefer a custom event - seems more elegant(?)
Cheers
Pete