Hola, guiandome de un control que estaba en Recursosvisualbasic,
Private Sub ContainerCheck()
Dim frm As Form
Set frm = Extender.Parent
Dim lHwnd As Long
lHwnd = Extender.Container.hWnd
Dim ctrl As Control
For Each ctrl In frm.Controls
With ctrl
If TypeOf ctrl Is AxCheckBox Then
If .ButtonType = OptionButton Then
If (.Container.hWnd = lHwnd) And _
(ctrl.hWnd <> UserControl.hWnd) Then
If .Value Then .Value = False
End If
End If
End If
End With
Next
End Sub
pero tenes algunas cosas un poco, un poco confusas, al menos para que me fucione también cambie esto, igual tenes que ir viendo bien todo yo solo mire por arriba eso.
Public Property Let Value(ByVal nValue As Boolean)
If (m_ButtonType = OptionButton) And (nValue = True) Then ContainerCheck
m_Value = nValue
PropertyChanged "Value"
Call RenderCheckBox
End Property
Private Sub UserControl_Click()
If MouseState.Button = vbLeftButton Then
If m_Value = True Then
If m_ButtonType <> OptionButton Then
m_Value = False
RaiseEvent Click
Else
Exit Sub
End If
Else
m_Value = True
RaiseEvent Click
End If
If m_ButtonType = OptionButton Then Call ContainerCheck
Call RenderCheckBox
End If
End Sub
en remplazo del Label podes usar el API DrawText.
Saludos.