Recent

Author Topic: How to create a 'Find & Replace' window for FPSpreadsheet.  (Read 1712 times)

Jvan

  • Full Member
  • ***
  • Posts: 181
Please, how to do it.


Thanks.
« Last Edit: June 03, 2021, 09:50:15 pm by Jvan »

wp

  • Hero Member
  • *****
  • Posts: 8365
Re: How to create a 'Find & Replace' window for FPSpreadsheet.
« Reply #1 on: May 13, 2021, 12:54:09 pm »
Create the form as you would do for any other form with Lazarus. Then call the search & replace features of fpspreadsheet: https://wiki.lazarus.freepascal.org/FPSpreadsheet#Searching_and_replacing.

You can find an example in the spready application (https://sourceforge.net/p/lazarus-ccr/svn/HEAD/tree/applications/spready/, ssearchform).
Mainly Lazarus trunk / fpc 3.2.0 / all 32-bit on Win-10, but many more...

Jvan

  • Full Member
  • ***
  • Posts: 181
Re: How to create a 'Find & Replace' window for FPSpreadsheet.
« Reply #2 on: May 14, 2021, 01:19:39 am »
Thanks.

 

TinyPortal © 2005-2018