How to paint form's background when Form.BorderStyle is bsNone?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #48872
    Support
    Keymaster

      Hello Angelo

      I not quite understand what you mean. Form is not skinned?

      Try to place the TsSkinProvider component to this form.

      #48878
      Robovideo
      Participant

        Hello,

        form is skinned and a TsSkinProvider component is on the form.

        I'm able to reproduce it with LiteDemo project, by

        setting MainForm's BorderStyle:=bsNone and selecting AfterBurner skin.

        Form's graphic background won't be painted, however I noticed this does not occur with all skins having a graphic image as background.

        [attachment=5824:Image2.png]

        [attachment=5823:Image1.png]

        I realize it's not such a big issue; I was just wondering whether it was a wrong setting or else.

        Thanks

        #48881
        Support
        Keymaster

          Some skins (like Afterburner) will not have background image when BorderStyle is bsNone because this image was defined in the BorderMask property (not as background of window).

          This skin should be changed for drawing a background.

          #48913
          Robovideo
          Participant

            Hello,

            I didn't get into skin building so far, since I'm new to AC.

            I Thank you very much for the explanation.

            Regards

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