enumerating all event properties of a control and form

M

Martin

Hi,
Is there any way to access all event properties of a control or a form?
I want to disabled for example all event procedure (or macro) in some cases
I can set i.e:
combobox1.OnNotInList = ""
But I want to write an universal procedure to disabled "all" event for all
control type.

Such as following:

dim ctrl as control
set ctrl = me!textbox1
for each prop in ctrl.events
prop.... = ""
next prop

Is there any way?
thanks

Martin
 
Top