Util_Delphi

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • Util_Delphi
    Participant

      Thank you! It works! It had to sSkinProvider component that I had forgotten.

      Util_Delphi
      Participant
        'Kujo' wrote:

        Hello,

        Code:
        procedure TForm1.Btn_ActiverClick(Sender: TObject);
        begin

        //Form1.sSkinManager1.Active := True; // before you have to select a skin
        Form1.sSkinManager1.SkinDirectory := 'C:TOUS LES THEMES';
        Form1.sSkinManager1.SkinName := 'Acryl';
        Form1.sSkinManager1.Active := True;
        Form1.sSkinManager1.RepaintForms(True); // in XE2 it works also without this

        Form1.Btn_Quitter.SetFocus;

        end;

        And don't forget to add the sSkinProvider component!

        Util_Delphi
        Participant

          Bonjour.

          So I put an inner skin as I usually do.

          b925eb659fcb7c24a71412eba2cad3777f1abc56.png

          procedure TForm1.Btn_ActiverClick(Sender: TObject);

          begin

          Form1.sSkinManager1.Active := True;

          Form1.sSkinManager1.SkinDirectory := 'C:TOUS LES THEMES';

          Form1.sSkinManager1.SkinName := 'Acryl (internal)'; // does not work : Even with (external) it does not work

          Form1.sSkinManager1.RepaintForms(True);

          Form1.Btn_Quitter.SetFocus;

          end;

          It is necessary that the skin is active from the start? No other solution? I think I misunderstood…

          Merci 😉

          in reply to: how to use this type ThirdPartyList? #52733
          Util_Delphi
          Participant
            'Kujo' wrote:

            Hello,

            in order to activate a skin, you have to use the SkinName property:

            Code:
            sSkinManager1.SkinName := 'Android OS (internal)';

            ThirdParty is used to skin, using the current skin, a component that is not included in the AC package; you can select these components using the list (as in your image) or add the components by the code, like this:

            Code:
            sSkinManager1.ThirdLists[Ord(tpVirtualTree)].Append('TVirtualStringTree');

            OK! Thank you very much. I'll test it.

            I hope to understand the syntax. [Ord (tpVirtualTree)] Append ('TVirtualStringTree.');

            I'll let you know;)

            in reply to: how to use this type ThirdPartyList? #52729
            Util_Delphi
            Participant

              Up ? :hello:

            Viewing 5 posts - 1 through 5 (of 5 total)