UserControl's Parent's BackColor Change? 
Author Message
 UserControl's Parent's BackColor Change?

How do I detect when the UserControl's Parent's BackColor Changes?  I Have a
user-drawn control that has a transparent background.  When the background
is transparent, I paint the parents backcolor behind an icon.  But when you
are in design time and you change the parent's backcolor, the backcolor of
the square of the usercontrol doesn't change.  I thought it would fire the
UserControl's AmbientChanged event, but it doesn't.  Any ideas?

To see exactly what I'm talking about, try it with my control:
www.cs.utexas.edu/users/gglaze/vbcontrl/popup.zip

Thanks.
-GMG



Tue, 15 Aug 2000 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. UserControl's Parent's BackColor Change?

2. Parent UserControl's Properties in a UserControl (placed on another UserControl)

3. Can't get HWnd of real parent form since usercontrol container changes during load

4. backcolor property on SSTab control doesn't change backcolor

5. TreeView: Can't change node's parent to Nothing

6. TreeView: Can't change node's parent to Nothing

7. App.Path of the Usercontrol's Parent form

8. UserControl's parent losing focus

9. UserControl's Parent property

10. App.Path of the Usercontrol's Parent form

11. Trapping KeyStrokes inside a UserControl for it's parent form

12. Backcolor on form doesn't change the colour

 

 
Powered by phpBB® Forum Software