
01/06/2004, 05:42
|
 | | | Fecha de Ingreso: mayo-2004 Ubicación: Lucentum
Mensajes: 6.192
Antigüedad: 20 años, 11 meses Puntos: 74 | |
Proba con este codigo, deshabilita la opcion?
Habilitar y deshabilitar es que son accesibles, si ya esta habilitado y le haces un MF_ENABLED no va a hacer nada...
Dim y As Long
For y = 0 To lst1.ListCount - 1
If lst1.Selected(y) = True Then
'ESTE ES EL ITEM SELECCIONADO
EnableMenuItem hMenu, y, MF_DISABLED Or MF_BYPOSITION
End If
Next
__________________ ¡Peron cumple, Evita dignifica! VIVA PERON CARAJO |