Forum > Beginners
Worksheet.PageLayout
seghele0:
WP, what exactly should I do now?
Sotty, but your explanation isn't clear to me.
Do I need to update the "fpSpreadsheet" component and where can I download it and what's the best way to update it in Lazarus.
;)
wp:
Sorry. Yes, you must get yourself the latest version of the FPSpreadsheet library: I am assuming that you do not use svn. Therefore you should go to https://sourceforge.net/p/lazarus-ccr/svn/HEAD/tree/components/fpspreadsheet/ and download the "snapshot" from that page. Unzip it to some folder.
Open the IDE and go to "Package" > "Load package file (.lpk)". Navigate to the folder to which you had unzipped the download, and select "laz_fpspreadsheet.lpk" > "Open". Click "Compile" (not absolutely necessary).
If you use the visual spreadsheet components you must repeat this with "laz_fpspreadsheet_visual.lpk" and with "laz_fpspreadsheet_visual_dsgn.lpk". In case of the latter package you must also click "Use" > "Install" and confirm the prompt to rebuild the IDE. When the IDE has restarted after a while you will have the new fpspreadsheet.
(You must repeat the same with "laz_fpspreadsheet_dataset.lpk" if you need to open spreadsheets as a database, and "laz_fpspreadsheetexport_visual.lpk" if you want to export database tables to spreadsheet files. And if you have encrypted Excel files you must also open the "laz_fpspreadsheet_crypto.lpk" package).
seghele0:
"WP", real thanks.
Your clear explanation is highly recommended for everyone.
The StingGrid is now vertically in the center of the (printed) page.
:)
In the short future, there will be a few more questions to make the code of my program more readable and efficient.
;)
Navigation
[0] Message Index
[*] Previous page