MSFlexGrid row selection color
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6

Thread: MSFlexGrid row selection color

  1. #1
    Join Date
    Oct 2003
    Posts
    76

    MSFlexGrid row selection color

    When I click the 1st column (normally the fixed one) in a flexgrid, it selects the whole row.

    Issue is:
    1) It shows selection in some particular color. How can I change the selection color. In the properties of felxgrid I could'nt find anything that would do that exactly.
    2) It skips the 1st column (non-fixed one) and shows the selection from 2nd column onwards (something lik eoffset by one).

    Can someone help me with the above issues!!!

    Thanks.

  2. #2
    Join Date
    Jul 2001
    Location
    Pune-India
    Posts
    251

    Help Please

    Hi TarangKaushal,
    If you have solved this issue. Can you please help to sort out.

    Gurus,
    if you know the answers please let ur know
    THanx in advance
    Regards
    Nagesh

  3. #3
    Join Date
    Jul 2002
    Location
    Princeton, NewJersey, US
    Posts
    817
    Check the "BackColorSel" property in ALL tab of Flexigrid .
    GOOD DAY..!

    NICK.

    E-MAIL : codeguru_bank@yahoo.com

  4. #4
    Join Date
    Oct 2003
    Posts
    76
    That unfortunately did not help.

    If there is 1 fixed column, and I click on one of the columns, then that particular row should be selected in *some* color. I do not know where to change that color from.

    Any help??

  5. #5
    Join Date
    Jul 2002
    Location
    Princeton, NewJersey, US
    Posts
    817
    If there is 1 fixed column, and I click on one of the columns, then that particular row should be selected in *some* color.
    This statement is not clear to me...!
    However., I changed the above property and it works fine for me.. In my case, I have 1 fixed row & 1 fixed column . And when I select any of the non-fixed rows, my color gets changed..!
    GOOD DAY..!

    NICK.

    E-MAIL : codeguru_bank@yahoo.com

  6. #6
    Join Date
    Jul 2001
    Location
    Pune-India
    Posts
    251

    Hope so this HELPS

    Hi TarangKaushal,
    Hope so this solution helps you.
    Issue is:
    1) It shows selection in some particular color. How can I change the selection color. In the properties of felxgrid I could'nt find anything that would do that exactly.

    NewNick is right here. Just go to the flexgrid property. I do not remember exactly but i think.
    Appearance->BackColorSel. If you change the color here, surely it will change the selection color.


    2) It skips the 1st column (non-fixed one) and shows the selection from 2nd column onwards (something lik eoffset by one).

    --hummmmm... ...I remember somthing....
    Just change the
    FocusRect = NONE.
    FGrid.SelectionMode = Row Hope so this works.

    Anather option is
    FGrid.ColSel = 0 FGrid.ColSel = FGrid.Cols-1
    Hope so this works for you.
    Thank you
    Nagesh

Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center