MSHFlexgrid select a cell and change background

         To change the color on the column or cell that is selected on the control MSHFlexgrid is very easy. Open a new project in Visual Basic 6.0, add one form and one control MSHFlexgrid. So that practice could easily give MSHFlexgrid the control data. Then with one CommandButton button, you give a command like the following:
 
 Private Sub Command1_Click()
      MSHFlexGrid1.CellBackColor = vbRed
 End Sub
 

         If the program is executed, then the produce is if the user selects the cell in the grid, then the button is pressed then the effect is the cell will change color according to the above statements.
 
MSHFlexgrid select a cell and change background

 
 

More topic of Mshflexgrid
 
 -. How to Use MSHFlexgrid ?
 -. Mshflexgrid with Adodc
 -. Editable MSHFlexgrid
 -. Attach textbox to MSHFlexgrid
 -. Select Single Cell in MSHFlexgrid

Postingan populer dari blog ini

vb6 msflexgrid

Tutorial Visual Basic 6.0 : Listbox in VB6

How to Use Mshflexgrid