Recent

Author Topic: Problem installing FPSpreadsheet  (Read 145 times)

Neville

  • New Member
  • *
  • Posts: 18
Problem installing FPSpreadsheet
« on: October 30, 2020, 07:48:12 pm »
I have downloaded FPSpreadsheet and unzipped it to a folder on my PC.
All the packages compile fine, but contrary to my expectation Lazarus doesn't then make them available for installation from the
Package|Install/Uninstall Packages menu.

Have I missed something?

Thanks in anticipation.

Neville Richards

wp

  • Hero Member
  • *****
  • Posts: 7750
Re: Problem installing FPSpreadsheet
« Reply #1 on: October 31, 2020, 12:38:22 am »
The laz_fpspreadsheet package (which contains the basic spreadsheet code) and the laz_fpspreadsheet_visual package (which contains the runtime code of the visual spreadsheet controls) are runtime packages, this means that they cannot be "installed"into the IDE, they are only compiled, but the IDE knows where the compiled units are found.

Only the laz_fpspreadsheet_visual_dsgn package is a designtime package and MUST be installed. It is responsible for the palette icons.

When you click one of these spreadsheet controls onto the form only the runtime package is added to the project requirements since the designtime code is only needed by the IDE, but not by your program.
Mainly Lazarus trunk / fpc 3.2.0 / all 32-bit on Win-10, but many more...

 

TinyPortal © 2005-2018