Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
6449 | Aug 13,2003 09:51 AM UTC | Aug 13,2003 02:21 PM UTC | WinForms | 4 |
![]() |
Tags: GridControl |
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
> 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 >>
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.