Probleme skinning a form

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #35620
    BuzzLeclaire
    Participant

    Hello,

    I have a problem with my skin refresh

    The TPanel with a SkinName BAR are not skinned

    Before 8.16

    Screen_2_28-01-2013.png

    After 8.16

    Screen_1_28-01-2013.png

    In the OnCreate the TForm

    procedure TFPrincipal.FormCreate(Sender: TObject);

    Begin

    // …

    // Init décors

    sSkinManagerPrincipal.IsDefault := True;

    sSkinManagerPrincipal.SkinName := DefautSkin;

    sSkinManagerPrincipal.Saturation:= Saturation;

    sTrackBarSaturation.Position := Saturation;

    sLabelSaturation.Caption := inttostr(Saturation);

    // …

    end;

    1. When I start my program that displays the TForm After 8.16, if I scroll down or up with my mouse then My Form is Skinned Before 8.16

    2. If I put in the activate event, the same as the OnCreate event, The skin is well designed, but it breaks other problems

    thank you for your help

    #50069
    Support
    Keymaster

    Hello!

    Can you send me the Dfm file for this form?

    Or maybe you have a test-app for debugging already?

    #50070
    BuzzLeclaire
    Participant

    I have another TForm makes me the same thing, but in it there is no Skinmanager (this is a TForm ShowModal) is would this be enough?

    This ShowModal TForm is not skinned. Even with the procedure OnActivate the main TForm

    you should also one of my main TForm ?

    #50072
    Support
    Keymaster

    This form have a described issue too?

    I think, I can add the TsSkinManager there.

    #50079
    BuzzLeclaire
    Participant

    Hi,

    As you have asked me to send you my DFM, before doing it, I deleted my main TForm component Skinmanager and the SkinProvider.

    I add these two new components and everything works.

    I hope it will not…

    Thank you

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