ColSel Property (ModHFGrid) Example

The following code returns the value of the ColSel property into the first cell of ModHFGrid1. This value changes as the user clicks various selections of cell groups.

Private Sub ModHFGrid1_MouseUp _
(Button As Integer, Shift As Integer, x As Single, _
      y As Single)
   ModHFGrid1.Text = ModHFGrid1.ColSel
End Sub