How to keep the speedbutton font color

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #37455
    C%%D
    Participant

    I want to keep the speedbutton font color not be change,how to do?

    #56574
    Support
    Keymaster

    Hello

    You are able to use the Font.Color property if SkinData.CustomFont property is True.

    Try it, please.

    #56583
    C%%D
    Participant

    I don't understand,can you tell me the detai.

    #56585
    Stephane Senecal
    Participant

    First you will need to use a TsSpeedButton, not the standard TSpeedButton.

    In the properties of the sSpeedButton there is a SkinData property.

    Expand it and you'll see the property CustomColor.

    Switch it to True and now the button will use the color from SpeedButton.Font.Color instead of the skin color.

    Stephane Senecal
    CIS Group
    Delphi programmer since 2001

    #56593
    C%%D
    Participant

    My project have a fat lot of TSpeedButton,Maybe 200,I don't want to change to TsSpeedButton.Is there any other way?

    #56612
    Support
    Keymaster

    I will try find a solution for a changing of a global skin color with a next release of the package, please wait some days.

    But replacing of TSpeedButton by TsSpeedButton component is the best solution. GExperts may be used for a fast replacing, I think.

    Or the old AlphaConvert tool: http://www.alphaskins.com/sfiles/alphaconvert.zip

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.