CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: MSFlexgrid

  1. #1
    Join Date
    Aug 2001
    Location
    TN,USA
    Posts
    2

    MSFlexgrid

    How to select all the rows in the MSFlexgrid through code? Iam trying to print data from the grid, Before printing i would like to select all the rows from the grid.

    Thanks


  2. #2
    Join Date
    Feb 2001
    Posts
    54

    Re: MSFlexgrid

    Hello:
    If I understand you correctly, you can use this

    private Sub Command1_Click()
    MSFlexGrid1.ColSel = Val(Text1.Text)

    MSFlexGrid1.RowSel = Val(Text2.Text)
    End Sub




    You can put in the number of rows and columns that you want.

    Good Luck


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured