unassign event

paul j

Licensed User
On runtime I add events to an object (e.g. onFocus to a textbox), but on closing the form the event stays active so I get errors when swithing to an other form. I cant find a way to remove te event from the object. Is it possible any way?