Change color
-
Hi all Plz help me ; i work in vb 6.0 i want to change a color of perticular cell in Hierachical FlexGrid Control 6.0 or bold a perticular cell
-
Hi all Plz help me ; i work in vb 6.0 i want to change a color of perticular cell in Hierachical FlexGrid Control 6.0 or bold a perticular cell
Hello Sinchan Nikam! This : Private Sub Grid_Click() Dim i as Integer With Grid .Row = .MouseRow For i = 1 to .cols-1 .Col = i .CellBackColor = RGB(255,0,0 ) 'red Next End Grid End Sub Will highlight an entire Flexgrid Row in Red. Note here Grid is the name of the FlexGrid. To change only one cell's color, I think it's obvious by now, that you need to use the .CellBackColor property Hope it helps! Always remember to play araound with example supplied - you'll be amazed at what you'll learn! H T G