Button Colors in Spread 8 Sheets

Posted by: rdusatko on 8 September 2017, 2:43 pm EST

  • Posted 8 September 2017, 2:43 pm EST

    Hello,


     after struggling for hours trying to make a pretty button in Spread 8 I decided to ask for help here.


    When the fpSpread1 has the property AppearanceStyleEnhanced the button is beautiful when the mouse goes over it (light blue). However otherwise it is always a lighter grey at the top and a darker grey at the bottom.


    When I set the property AppearanceStyle to AppearanceStyleClassic I have colors, but only crudely shown, and when you hover over the button with the cursor the color does not change.


     Is it not somehow possible to define the default colors for a button in enhanced mode oder AppearanceVisualStyle mode so that they are not grey?


    Rodger

  • Replied 8 September 2017, 2:43 pm EST

    You can set alot of custom colors and other properties using the EnhancedInterfaceRenderer Class. The Spread Forms Product Documentation has some good sample code snippets for using it. The subset of properties dealing with the buttons are








































    Public PropertyTabStripButtonBorderColorGets or sets the color of the tab strip button
    border.
    Public PropertyTabStripButtonFlatStyleGets or sets the tab strip button flat style.
    Public PropertyTabStripButtonLowerActiveColorGets or sets the color of the tab strip button
    lower active.
    Public PropertyTabStripButtonLowerNormalColorGets or sets the color of the tab strip button
    lower normal.
    Public PropertyTabStripButtonLowerPressedColorGets or sets the color of the tab strip button
    lower pressed.
    Public PropertyTabStripButtonStyleGets or sets the tab strip button style.
    Public PropertyTabStripButtonUpperActiveColorGets or sets the color of the tab strip button
    upper active.
    Public PropertyTabStripButtonUpperNormalColorGets or sets the color of the tab strip button
    upper normal.
    Public PropertyTabStripButtonUpperPressedColorGets or sets the color of the tab strip button
    upper pressed.

    Top

Need extra support?

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

Learn More

Forum Channels