mardi 20 décembre 2016

How to make a flexgrid column to a checkbox coloumn

I have a flexgid with 3 columns. I need to make the first column a checkbox column so that users can check and uncheck there. And i need the other column values which are checked. ` MSFlexGridBrg.Width = "3200" For Bea = 1 To NbBearg MSFlexGridBrg.Rows = NbBearg + 1 MSFlexGridBrg.Cols = 3

     'MSFlexGridBrg.CellFontName = "Wingdings"
    MSFlexGridBrg.TextMatrix(0, 0) = "Select"
    If MainUnitIn Then
            MSFlexGridBrg.TextMatrix(0, 2) = "Cu (N)"
    Else
            MSFlexGridBrg.TextMatrix(0, 2) = "Cu (lbf)"
    End If

     MSFlexGridBrg.Row = 1
    MSFlexGridBrg.col = 1
    MSFlexGridBrg.TextMatrix(0, 1) = "Bearing No."
        MSFlexGridBrg.Row = Bea
        MSFlexGridBrg.Text = Bea & ". "

        MSFlexGridBrg.col = 1
        MSFlexGridBrg.TextMatrix(MSFlexGridBrg.Row, 2) = Cu_Value_Estimate(Bea)
Next`

The output is attached as the image. I want the column named Select as the Checkbox column.enter image description here




Aucun commentaire:

Enregistrer un commentaire