To use 2 skins in Delphi 2009 Application – How I do?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #38477
    Neon
    Participant

      You should use two different TsSkinManager components and set one to Golden skin and another to Capuccino.

      #38483
      Rafael Pereira
      Participant

        QUOTE (Neon @ Mar 29 2009, 03:54 PM)
        You should use two different TsSkinManager components and set one to Golden skin and another to Capuccino.

        Hi!

        I already tried this solution, but don't works!
        This too change both forms: main and popup!

        I put “Skin2.Active := True” in popup section “Create”, this is correct?

        Tks!

        #38486
        Neon
        Participant

          Then put a TsFormProvider to the form and set it to TsSkinManager you need. I hadn't this problem you described, all worked well…

          #38513
          Support
          Keymaster

            QUOTE (Neon @ Mar 30 2009, 09:24 PM)
            Then put a TsFormProvider to the form and set it to TsSkinManager you need. I hadn't this problem you described, all worked well…

            Yes, you must define a TsSkinProvider for each form and define there a SkinManager which must be used.

            #38713
            Rafael Pereira
            Participant

              QUOTE (Support @ Apr 1 2009, 10:13 AM)
              Yes, you must define a TsSkinProvider for each form and define there a SkinManager which must be used.

              Hi, all!
              Perfect, the visual form works now!

              I put a “TsSkinProvider” in popup form and adjust “SkinData.SkinManager := FrmLogon.SkinForm2”.
              Note: the FrmLogon.SkinForm2 should be set actived (“Active := True”).

              Tks for all!

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