This is a migrated thread and some comments may be shown as answers.

Change text of a cell with checkbox

0 Answers 110 Views
CheckedListBox
This is a migrated thread and some comments may be shown as answers.
Hector
Top achievements
Rank 1
Hector asked on 04 Jun 2015, 06:33 PM

Hello.

I want to change the text of the column in listview with checkbox

I have

 

Public Sub lvRegDePedido_ItemCheckedChanged(sender As Object, e As ListViewItemEventArgs) Handles lvRegDePedido.ItemCheckedChanged
            formatoDeCellda()
    End Sub

Private Sub formatoDeCellda()
        Try
            Dim e As ListViewCellFormattingEventArgs
            e = Nothing
            If e.CellElement.Data.HeaderText = "Estado del articulo" Then
                If e.CellElement.Text = "No entregado" Then
                    e.CellElement.ForeColor = Color.Aqua
                End If
            End If
        Catch ex As Exception : MsgBox(ex.Message)
        End Try
    End Sub
 

I work in the trial version (demo)

Adj Img

No answers yet. Maybe you can help?

Tags
CheckedListBox
Asked by
Hector
Top achievements
Rank 1
Share this question
or