Public Function controllocheckbox(pannello As Panel) As Boolean
Dim chb As Control
For Each chb In pannello.Children
If Object.Class(chb).Name = "CheckBox" Then
if Object.GetProperty(chb, "Value", True) Then Return True
Endif
Next
End