Event from dynamically created control doesn't raise 
Author Message
 Event from dynamically created control doesn't raise

Hello

I built a control container (not an OLE container, simply a control which
hosts other controls at runtime) which dynamically loads controls. All of
the controls fire an event (Change) to indicate state change. This event is
catched in the control container by the ObjectEvent handler. All worked fine
for an amount of time, but since the last project change the event doesn't
seem to make its way to the container. If I place one of these controls at
design time in a form I get the event, but I don't if I load it with
Controls.Add.

Any idea how to workaround this?

Thanks
Karsten



Fri, 30 May 2003 19:32:29 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Event from dynamically created control doesn't raise

2. AddAdvise in VB doesn't raise event

3. raise event doesn't

4. TAB key doesn't raise KeyPress event

5. TAB key doesn't raise KeyPress event

6. TAB key doesn't raise KeyPress event

7. raised event: doesn't arrive

8. DTS-package doesn't raise OnProgress-event

9. DTS-package doesn't raise OnProgress-event

10. raised event doesn't arrive

11. List Box Doesn't Get Updated After Create/Update/Delete Event

12. Events of dynamically created controls

 

 
Powered by phpBB® Forum Software