Error in CustomFramingFrame

Tagged: 

Viewing 4 reply threads
  • Author
    Posts
    • #2705
      Maarten Hennekam
      Participant

        In the latest version for Delphi 11 I get a compiler error [dcc32 Error] CustomFramingFrame.pas(113): E2035 Not enough actual parameters

        When I look at the declaration of this in RzCommon.pas then I seen that a control reference is needed.

      • #2707
        Ray Konopka
        Keymaster

          Hi,

          The control reference was added to several RzCommon methods in 6.5 in order to support VCL Style changes. Generally, you can simply pass “Self” as the parameter. For example, for the CustomFramingFrame.pas unit for the RCDemo:

          if UsingSystemStyle then

          becomes

          if UsingSystemStyle( Self ) then

          The same situation occurs in the TabsFrame.pas unit as well.

          The MainForm.pas unit has a similar change but with the GetGradientPanelFrameColor method:

          C := GetGradientPanelFrameColor( FCurrentGCS )

          becomes

          C := GetGradientPanelFrameColor( Self, FCurrentGCS )

          Ray

        • #3893
          Nat Regards
          Participant

            Hi.
            I also had the same error as in the post above. I did it as you wrote. Thank you.
            But now another one has appeared – [CreateUWPManifestFile Error] Program Id is not valid. Value: ”

            🙁

            Nat.

            • This reply was modified 5 months, 3 weeks ago by Nat Regards. Reason: Code
          • #3901
            Ray Konopka
            Keymaster

              Hi Nat,

              That appears to be an error that is not related to the KSVC components.

              Ray

            • #3905
              Nat Regards
              Participant

                Hi Ray,

                Thanks for the help.

                Nat.

            Viewing 4 reply threads
            • You must be logged in to reply to this topic.