Problems with TsGroupBox in new version 15.19

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #69772
    SpeedTI
    Participant

    Dear

    I downloaded the latest version, 15.19 that I use in Delphi 2010 and found a problem for the TsGroupBox component, which loses transparency when the TsSkinProvider component has its DrawClientArea and DrawNonClientArea properties modified.
    When the properties have the value <True>, the TsGroupBox component is transparent. When I switch to <False>, the transparency disappears.
    The main form is created inside a component of type TAdvOfficePage and with the properties of TsSkinProvider in <True>, the side edges of the Form do not occupy all the available space, the corners are rounded and drawn with flaws, and the TsGroup is transparent as shows attached figure # 01.
    With the value of the properties in <False>, attached figure # 02, the edges of the Form correctly occupy all space and without drawing failure and the TsGroupBox loses transparency.
    I had to go back to the previous version.

    Thank You

    • This topic was modified 4 years ago by SpeedTI.
    Attachments:
    You must be logged in to view attached files.

    Regards
    Valdir Sola

    #69776
    Support
    Keymaster

    Hello! This issue with disabled DrawClientArea and DrawNonClientArea properties will be researched and fixed soon.

    #69777
    SpeedTI
    Participant

    OK
    Thanks

    Regards
    Valdir Sola

    #69785
    SpeedTI
    Participant

    Has the problem reported here been resolved in version 15.20?

    I would like to know before updating.

    Regards
    Valdir Sola

    #69791
    Support
    Keymaster

    Hello, Valdir!
    I need to discuss this issue with you.
    Look, GroupBox should be transparent. If parent form is grey, then GroupBox should have grey background too, right?
    If parent form is blue, then GroupBox should be blue.
    I think, better solution for your situation will be changing of sSkinProvider.SkinData.SkinSection property to ‘TRANSPARENT’ and leaving DrawClientArea and DrawNonClientArea properties True. Try it, please.

    #69796
    SpeedTI
    Participant

    Hi.

    The following example shows the problem.

    The form is created within a TsTabSheet where the problem that did not occur in versions prior to 19 occurs.

    • This reply was modified 3 years, 12 months ago by SpeedTI.
    • This reply was modified 3 years, 12 months ago by SpeedTI.

    Regards
    Valdir Sola

    #69799
    SpeedTI
    Participant

    Please use the link to download the demo:

    https://www.speedti.com.br/download/demo_alpha.exe

    Thank You

    • This reply was modified 3 years, 12 months ago by SpeedTI.

    Regards
    Valdir Sola

    #69802
    Support
    Keymaster

    Thank you for the demo and sorry for a long delay.
    What’s wrong in the demo? GroupBox is transparent there (has a color of the parent control).

    #69804
    SpeedTI
    Participant

    Please download this other demo compiled with version 15.16 and compare the results of the two versions, with the option DrawClientArea = False and DrawNonClientArea = False and maybe you understand what I mean.

    https://www.speedti.com.br/download/demo_version1516.exe

    Regards
    Valdir Sola

    #69805
    Support
    Keymaster

    Thank you
    I see that child form hasn’t borders there and filled with the clBtnFace color.
    GroupBox is placed on this child form, but has a skin main color. Right? (not transparent)
    Can we discuss in the Skype or Whatsapp? It’s more effective, I think.

    You saw my solution in this post? https://www.alphaskins.com/forum/?topic=problems-with-tsgroupbox-in-new-version-15-19#post-69791
    You don’t like a result there? Can you share sources of this demo, please? I will show what I mean there.

    #69809
    SpeedTI
    Participant

    Hi.

    Yes, I saw the solution you proposed and it did not work (versions 19 onwards). What I find really strange is the fact that the reported problem is only occurring since update 19.
    To solve the problem in the GroupBox border color, I changed the color of the child form to the value $ 00F0DAC7 which is the closest to the color used by the skin. As of version 19, this change in color does not cause any change.
    I don’t see any problem in chatting on whatsapp, I just ask you to contact me in private so that I can provide you with my contact details.

    Thanks

    Regards
    Valdir Sola

    #69810
    SpeedTI
    Participant

    Feel free to download the code through the link:
    https://www.speedti.com.br/download/test_alpha.rar

    Made in Delphi 2010

    Thanks

    Regards
    Valdir Sola

    #69812
    Support
    Keymaster

    Thank you
    Look the changed demo, plz. I think, this way will be better.

    Attachments:
    You must be logged in to view attached files.
    #69815
    SpeedTI
    Participant

    It’s solved.
    Thanks a lot.

    Regards
    Valdir Sola

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