ParentColor

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #37127
    Manjinski
    Participant

    How define the color for readonly parentcolor component?

    Without Alphaskins the component with parentcolor stay btnface (clsilver), with alphaskin stay white (color of skin)

    #55534
    Support
    Keymaster

    Hello!

    You have few ways for doing that.

    1. Set SkinData.CustomColor property to True and you can change color of the control by changing of the standard “Color” property.

    Color of parent you can receive using the GetControlColor function which declared in the sVCLUtils.pas unit.

    2. Change the SkinData.SkinSection property of control to “PANEL_LOW” of “GROUPBOX”.

    Looking of the control will be changed automatically then.

    Write me if I can help more.

    #55536
    Manjinski
    Participant

    Ok, but, is there a way to do for entire application?

    'Support' wrote:

    Hello!

    You have few ways for doing that.

    1. Set SkinData.CustomColor property to True and you can change color of the control by changing of the standard “Color” property.

    Color of parent you can receive using the GetControlColor function which declared in the sVCLUtils.pas unit.

    2. Change the SkinData.SkinSection property of control to “PANEL_LOW” of “GROUPBOX”.

    Looking of the control will be changed automatically then.

    Write me if I can help more.

    #55538
    Support
    Keymaster
    'Manjinski' wrote:
    Ok, but, is there a way to do for entire application?

    I'm sorry, what you mean? I not quite understand.

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