Setting Column Header colors and default color for the Grid

Posted by: fpuserteam on 8 September 2017, 1:20 pm EST

  • Posted 8 September 2017, 1:20 pm EST

    Hi,


    I have upgraded from Spread 3.0 to Spread 4.0. The colour of the Grid header and the Back color of the grid is different from Spread 3.0. How can I bring the appearance similar to Spread 3.0 Grid? I have attached the snap shot of both Spread 3.0 and Spread 4.0 screens.


    2008/07/Spread Appearance.zip
  • Replied 8 September 2017, 1:20 pm EST

    See if this will do it for you...

    FarPoint.Win.Spread.DefaultSkins.Classic.Apply(FpSpread1)
    FpSpread1.HorizontalScrollBar.Renderer = Nothing
    FpSpread1.VerticalScrollBar.Renderer = Nothing
    FpSpread1.InterfaceRenderer = Nothing

  • Replied 8 September 2017, 1:20 pm EST

    Thanks Bob. I could get the Grid look similar to Spread 3.0 version by using this code. However, the scroll bar and the Tracking bar in Spread 4.0 is of different color. How can I change that to make it similar to Spread 3.0 version? I have attached the screen shots of both the versions.  
    2008/07/Spread Appearance-2.zip
  • Replied 8 September 2017, 1:20 pm EST

    Hello,


    To get the Spread to default to the look of the version 3 Spread control, you would need to apply the Classic SpreadSkin to the Spread.


    FarPoint.Win.Spread.DefaultSpreadSkins.Classic.Apply(FpSpread1)

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels