- This topic has 3 replies, 2 voices, and was last updated 2021-06-19 at 12:30 am by .
Viewing 3 reply threads
Viewing 3 reply threads
- You must be logged in to reply to this topic.
Home › Forums › Konopka Signature VCL Controls (formerly Raize Components) › Compiling RCDemo – does not compile
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?
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
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…
Thanks!
We use cookies to improve your experience on our site. By using our site, you consent to cookies.
Manage your cookie preferences below:
Essential cookies enable basic functions and are necessary for the proper function of the website.
These cookies are needed for adding comments on this website.
These cookies are used for managing login functionality on this website.
Stripe is a payment processing platform that enables businesses to accept online payments securely and efficiently.
Service URL: stripe.com (opens in a new window)