Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I write a custom event

Status
Not open for further replies.

PeteG

Programmer
Feb 23, 2001
144
GB
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top