Recent

Author Topic: Eye-Candy Controls 0.9.30 Latest Version  (Read 2079 times)

Awesome Programmer

  • Sr. Member
  • ****
  • Posts: 451
  • Programming is FUN only when it works :)
    • Cool Technology
Eye-Candy Controls 0.9.30 Latest Version
« on: January 03, 2019, 09:00:20 pm »
Frist of all, I want to say thank you for this awesome controls and I tried to install the lastest and the greatest version that I downloaded from sourceforge.net. Lazarus did NOT like it. It threw a syntax error as follows for the ecspineditctrls.pas

There is no method in ancestor class to be overridden: TECHSpinEditSpacing.GetSpace(TAnchorKind):LongInt;

The next error was also the same for GetSpaceAround

I thought of posting since this is fairly new controls or components. Plus, I love them all. I saw a screenshot of it and can't wait to use them. :)

So, please can you help me fix this issue for the eye candy controls.

Thank you.

Lazarus 1.0.12
fpc 2.6.2
Operating System is Linux (Mageia)

Blaazen

  • Hero Member
  • *****
  • Posts: 3241
  • POKE 54296,15
    • Eye-Candy Controls
Re: Eye-Candy Controls 0.9.30 Latest Version
« Reply #1 on: January 03, 2019, 09:36:29 pm »
Package comes with file README.txt, where you can read:
Quote
ECControls requires following change in controls.pp:
these two methods must be virtual:
line ~722  procedure GetSpaceAround(var SpaceAround: TRect); virtual;

line ~724  function GetSpace(Kind: TAnchorKind): Integer; virtual;

This is done in Lazarus trunk 44805. Lazarus 1.4 already includes this patch.
That's all. Without it will package not compile.
No matter if you have stable Lazarus (1.2) or trunk (1.3).
No matter if you have stable FPC (2.6.4) or trunk (2.7.1)
(but there were some patches to fpdoc which are not in 2.6.4,
 so if you want to create html docs via attached script, you need 2.7.1).

If you really use Lazarus 1.0.12  :o - kind a prehistoric release - then it's the reason. I recommend you to upgrade.
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

Awesome Programmer

  • Sr. Member
  • ****
  • Posts: 451
  • Programming is FUN only when it works :)
    • Cool Technology
Re: Eye-Candy Controls 0.9.30 Latest Version
« Reply #2 on: January 03, 2019, 09:54:12 pm »
 :)
yep, That's what someone else told me too... I guess I will have to get started on Upgrading my Lazarus to the latest version.

Wish me Good Luck, Blaazen...  :D

 

TinyPortal © 2005-2018