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

    MSFlexgrid Title Bar

    Hi, how do I set the caption for the fixed row of the MSFlexgrid? thanx.


  2. #2
    Join Date
    Jan 2000
    Location
    Saskatchewan, Canada
    Posts
    595

    Re: MSFlexgrid Title Bar

    okay, right click on flexgrid and bring up properties. Then select the style tab. In the format section type in >Number|<Description. The > means to right justify. < means left justify. ^ means center. The | (shift backslash key) means to put the following (description) in the next column. Now you have headings in the fixed row of your flexgrid. Also the Column heading determines the width of the column itself , so if you need more width then place some spaces in the format string above

    David Paulson

  3. #3
    Guest

    Re: MSFlexgrid Title Bar

    Hi, thanks for your response. The solution you've given works when the program is first run. However when the grid data changes, the title bar disappears again. How should I solve this? Thanks again.


  4. #4
    Join Date
    Jan 2000
    Location
    Saskatchewan, Canada
    Posts
    595

    Re: MSFlexgrid Title Bar

    check the fixed row property of the flexgrid. This should be set to 1 for 1 fixed row.

    David Paulson

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