Compiling RCDemo – does not compile

Home Forums Konopka Signature VCL Controls (formerly Raize Components) Compiling RCDemo – does not compile

Viewing 3 reply threads
  • Author
    Posts
    • #2505
      Mark Mihevc Mihevc
      Participant

        Just loaded Konopka 7.0 to  Delphi 10.4.2.  When I compile RCDemo I get the following error:

        UsingSystemStyle – Error: ‘not enough parameters’. This was in the CustomFramingFrame unit, in the INIT procedure.

        I am guessing I did something wrong… Any help?

         

         

         

      • #2510
        Ray Konopka
        Keymaster

          Hi Mark,

          You did not do anything wrong. The demo was simply not updated for the 6.5.0 and 7.0.0 releases. Fortunately, it is easy to fix. For the UsingSystemStyle error add Self as a parameter:

          if UsingSystemStyle( Self ) then …

          After fixing the first one, you will get a couple more. Then you will get an error with the call to GetGradientPanelFrameColor. Again, you can simply add Self as the first parameter:

          C := GetGradientPanelFrameColor( Self, FCurrentGCS )

          Ray

        • #2511
          Mark Mihevc Mihevc
          Participant

            Thanks Ray!

            After studying the logic, I thought ‘self’ would be the most logical value for the parameter but I needed to make sure. Thanks again – beautiful controls by the way…

          • #2513
            Ray Konopka
            Keymaster

              Thanks!

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