Ver Mensaje Individual
  #5 (permalink)  
Antiguo 20/08/2010, 03:44
Avatar de XYON126
XYON126
 
Fecha de Ingreso: abril-2006
Mensajes: 272
Antigüedad: 18 años, 1 mes
Puntos: 0
Respuesta: ayuda con option button

hola!

Te has planteado la idea de activar un boton o no dependiendo de si es honbre o mujer, no se si es tambien tu idea. Por ejemplo.: si el boton selector se llama hombre y mujer pues hacer esto.:

Código vb:
Ver original
  1. If hombre = True Then
  2. boton1.Enabled = True
  3. boton2.Enabled = False
  4. ElseIf mujer = True Then
  5. boton2.Enabled = True
  6. boton1.Enabled = False
  7. End If

o realizar Case, s en vez de inabilitar botones.

Un saludo