Thank you! I will look at this.
I think part of my problem is that since I have
AllowSelection to be Any I have to look at
the selection type. I thought I was selecting
columns but upon forther inspection the
selectiontype being returned is 'cell' and
not 'column' hrmph. NOTHING is simple. :)
Tim
> Attached is a little sample. Here is some code.
>
>
> Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
> Dim colList As GridRangeInfoList = Me.GridControl1.Selections.GetSelectedCols(True, False)
> Dim s As String = "Colums selected:"
> If colList.Count = 0 Then
> s = s + "none"
> Else
> Dim range As GridRangeInfo
> For Each range In colList
> Dim j As Integer
> For j = range.Left To range.Right
> s = s + " " + j.ToString()
> Next
> Next
> End If
> Me.Label1.Text = s
> End Sub
>
>