property HostContext.Column as Long
Returns the index of the column from the current cursor location.

TypeDescription
Long A Long expression that specifies the index of the column from the current cursor location.
The Column property returns a valid value, while the HitTest property includes the exHTValidColumn. The Column property returns the index of the column from the current cursor location. For instance, the CellBold property of the Items object bolds or un-bolds the cell giving its handle and the index of the column. The Column value can be used on any property of the Items object that has a ColIndex parameter.

The following sample toggles the cell's bold attribute when the user right clicks the control:

Private Sub G2Host1_Context()
    With G2Host1
        If (.HostContext.HitTest And exHTValidItem) Then
            If (.HostContext.HitTest And exHTValidColumn) Then
                .Host.Items.CellBold(.HostContext.Item, .HostContext.Column) = Not .Host.Items.CellBold(.HostContext.Item, .HostContext.Column)
            End If
        End If
    End With
End Sub