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

Thread: MSHFLEXGRID

  1. #1
    Join Date
    Feb 2000
    Posts
    149

    MSHFLEXGRID

    Hi,
    I've got a file viewer that uses the mshflexgrid to display data, I would like to use the outside border of the grid as a record counter. Right now I have the first column acting as the record counter, but then when you scroll to the right you lose sight of the first column, so I want to use the outside fixed column. Anyone know how to do that??

    Thanks,
    Sean


  2. #2
    Join Date
    May 2000
    Location
    New York, NY, USA
    Posts
    2,878

    Re: MSHFLEXGRID


    You can put record counter to the ToolTip

    MSFlexGrid1.ToolTipText = MSFlexGrid.Rows-1


    Iouri Boutchkine
    [email protected]
    Iouri Boutchkine
    [email protected]

  3. #3
    Join Date
    Mar 2001
    Posts
    10

    Re: MSHFLEXGRID

    set the fixed columns property to 1.

    suchas

    someflexgrid.fixedcols = 1

    However, there must be at least one column on the grid. If you are filling the grid dynamically,

    'this resets the grid
    someflexgrid.fixedcols = 0
    someflexgrid.cols=0

    someflexgrid.cols = 1
    someflexgrid.fixedcols = 1

    . . .




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