Ver Mensaje Individual
  #2 (permalink)  
Antiguo 19/04/2011, 08:58
Avatar de Aquaventus
Aquaventus
 
Fecha de Ingreso: junio-2010
Ubicación: Lima-Peru , En el alba de la naturaleza
Mensajes: 2.105
Antigüedad: 13 años, 10 meses
Puntos: 267
Respuesta: ¿Recorrer checkedlistbox para pintar items?

Hola Zergatul para saber quienes estan seleccionados utiliza este codigo :

Código vb.net:
Ver original
  1. Dim i As Integer
  2.         Dim mensaje As String
  3.         mensaje  = "Items Seleccionados :" & ControlChars.CrLf
  4.         For i = 0 To (CheckedListBox1.Items.Count - 1)
  5.             If CheckedListBox1.GetItemChecked(i) = True Then
  6.                 mensaje  = mensaje  & "Item " & (i + 1).ToString & " = " & CheckedListBox1.Items(i).ToString & ControlChars.CrLf
  7.             End If
  8.         Next
  9.         MessageBox.Show(mensaje )
__________________
Internet es tener todo el conocimiento global a tu disposición.
Desarrollo de Software - Ejemplos .Net