UserForm events
those events belong to the control object - the container on the form that
holds the listbox. To the best of my knowledge, you can't manage those
events from a class.
--
Regards,
Tom Ogilvy
"R Avery" wrote in message
...
I have a form and a class that uses the form. I want to trap events for
a ListBox within the class. I have a MSForms.ListBox variable in the
class, which I set to be the listbox in the form. However, there are
fewer events that I can trap in the class than I could in the form
(there are fewer entries in the combobox containing the list of possible
events). Why? Is there anyway to change this?
In particular, the AfterUpdate, Enter, Exit and maybe some other events
are missing. The same thing happens with other controls, as well. Any
help would be appreciated.
|