0 Replies - 704 Views - Last Post: 30 July 2013 - 04:28 AM Rate Topic: -----

#1 kristina1  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 41
  • Joined: 30-July 12

How to customize flex grid to add checkboxes

Posted 30 July 2013 - 04:28 AM

Hi,

I am using in my flex grid the property

With FlexGrid1
.OutlineBar = flexOutlineBarSymbols
End With



Is there any way i can have a checkbox in my grid instead of the symbol of the square that actually appears?

I tried:
Const strChecked = ""
Const strUnChecked = "q"

Private Sub Form_Load()
        With FlexGrid1
                      
            .AllowUserResizing = flexResizeBoth 
                                   
                For y = 1 To .Rows - 1
                For x = 1 To .Cols - 1
                    .Row = y
                    .Col = x
                    .CellFontName = "Wingdings"
                    .CellFontSize = 14
                    .CellAlignment = flexAlignCenterCenter
                    .Text = strUnChecked
                Next x
            Next y
        End With



but all the row is a checkbox in this case, i want the checkbox to appear and the string i get from the database next to it.

I would appreciate a lot any kind of help.

Is This A Good Question/Topic? 0
  • +

Page 1 of 1