Visual Basic Foro
Programación => Visual Basic .NET / C# => Mensaje iniciado por: wolf_kof en Enero 21, 2013, 05:04:30 pm
-
Hola muchachos, quisiera agregar este estilo a mis formularios en vb.net, alguien sabe como puedo hacerlo? Gracias.
-
Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim i As Integer
For i = 0 To LReportes.Items.Count - 2 Step 2
LReportes.Items(i + 1).BackColor = Drawing.Color.Blue
LReportes.Items(i).BackColor = Drawing.Color.Red
Next i
If (LReportes.Items.Count And 1) <> 0 Then LReportes.Items(i).ForeColor = Drawing.Color.Red
End Sub
-
Interesante, muchas gracias ENTER.