ListBox

Iniciado por Overlord, 21 Octubre 2005, 01:18 AM

0 Miembros y 1 Visitante están viendo este tema.

Overlord

Hola.

En un list tengo 10 numeros, del 0 al 9. ¿Alguien sabe como puedo obtener el valor de dicho numero al ir haciendo click en el scroll? :-)

NYlOn


Private Sub List1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
    Dim Seleccion As Integer
    If Button = 4 Then
        Seleccion = List1.List(List1.ListIndex)
        MsgBox Seleccion
    End If
End Sub


Eso te muestra el item seleccionado cuando apretas el boton del scroll... pero no t lo selecciona :S

esper0 q te ayude de algo...

salu2 !