Public Sub MensajeFinalJuego()
Dim ventana As Form
Dim boton1 As Button, boton2 As Button
ventana = New Form
boton1 = New Button(ventana)
boton2 = New Button(ventana)
With ventana
.Center
.Caption = "Advertencia"
.Width = 600
.Height = 300
.Border = False
End With
With boton1
.Text = "Estoy seguro, anota"
.x = 30
.y = 150
.Width = 200
.Height = 50
End With
With boton2
.Text = "No anotar"
.x = 300
.y = 150
.Width = 150
.Height = 50
End With
ventana.Show
End
supongamos que llamo a esa subrutina que crea un formulario y dos botones, mi pregunta es como detecto el evento click en los botones???????