Search code examples
user-controlsvb6transparentvisibleocx

VB6 Controls appearing transparent over UserControl Frame


I have some VB6 controls that I have placed on a frame OCX that I have created myself. The issue, is when the frames are made visible, sometimes the controls (in this example 2 comboboxes) are missing, and you can see the background color of the Form through it.

The Usercontrol, is just 2 images with gradients, and a label for the title.

Are there any settings for UserControls that I need to know about that will fix this?

enter image description here

EDITED

AutoRedraw: True Clip Controls: True


Solution

  • Clip Controls had to be set to False. Fixed me whole problem. Thanks for the answers though