FATTO! (Quasi)![]()
![]()
![]()
GRAZIE XEGALLO!!! :mavieni:codice:Dim frm As Form, ctr As Control Set frm = Extender.Parent For Each ctr In frm If ctr.hWnd = ContainerHwnd Then UserControl.BackColor = ctr.BackColor Next
L'ultimo problema da risolvere è che quando il ciclo for incontra un controllo windowless la proprietà ctr.hWnd restituisce errore perchè quei controlli non hanno hWnd... :quipy: