Col, Row, Text Properties (ModHFGrid) Example

This example puts the word "Here" into the current cell, changes the active cell to the third cell in the third row, and puts the word "There" into this new active cell. To run the program, press F5, and then click the grid.

Private Sub Form1_Load ()
   ModHFGrid1.Rows =8
   ModHFGrid1.Cols =5
End Sub

Private Sub ModHFGrid1_Click ()
   ' Put text in current cell.
   ModHFGrid1.Text ="Here"
   ' Put text in third row, third column.
   ModHFGrid1.Col =2
   ModHFGrid1.Row =2
   ModHFGrid1.Text ="There"
End Sub