How can an ocx tell the color of whatever it is in. For example, an ocx on a blank form would read grey.
Printable View
How can an ocx tell the color of whatever it is in. For example, an ocx on a blank form would read grey.
Just use..
UserControl.BackColor = Ambient.BackColor