Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Packages and Libraries
»
FPSpreadsheet
»
Question about editors
Free Pascal
Website
Downloads
Wiki
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Bugtracker
IRC channel
Latest SVN
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
[Solved] Accessing variab...
by
loaded
[
Today
at 08:32:33 am]
lazarus fast report
by
flori
[
Today
at 08:18:27 am]
How to load list of inter...
by
rsu333
[
Today
at 07:53:12 am]
LAMW: how to work with BL...
by
jmpessoa
[
Today
at 07:18:27 am]
Brook Security (https)
by
RedOctober
[
Today
at 03:23:14 am]
[solved] faster/better (x...
by
Martin_fr
[
Today
at 02:31:56 am]
gRPC native implementatio...
by
Leledumbo
[
Today
at 01:24:12 am]
HTTP/2+1.1 server on Laza...
by
PierceNg
[
Today
at 01:14:46 am]
FPC on Rasp Pi, non Lazar...
by
AlanTheBeast
[
Today
at 01:04:33 am]
how start develop with la...
by
trev
[
Today
at 12:35:57 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Question about editors (Read 504 times)
fmolina
New Member
Posts: 38
Question about editors
«
on:
July 10, 2020, 02:30:12 am »
Hi,
Is there support for TCheckboxes and TComboBoxes as cell editors in FPSpreadsheet? If no, is it planned?
Thanks
Logged
wp
Hero Member
Posts: 8086
Re: Question about editors
«
Reply #1 on:
July 10, 2020, 10:56:57 am »
TsWorksheetGrid has the same inheritance as TStringGrid, and thus should behave like that regarding specialized cell editors. So, basically, all what is written about this topic in
https://wiki.lazarus.freepascal.org/Grids_Reference_Page#Using_cell_editors
should be valid, too. However, since TsWorksheetGrid was written to mimic the Office spreadsheet applications there may be some conflicts here and there.
The attached demo shows that the combobox editor works almost correctly out of the box, but the checkbox editor would require some work. I am not planning to extend this on my own, but useful patches will be accepted.
Logged
Mainly Lazarus trunk / fpc 3.2.0 / all 32-bit on Win-10, but many more...
fmolina
New Member
Posts: 38
Re: Question about editors
«
Reply #2 on:
July 11, 2020, 05:03:42 am »
Thanks, I will try to get checkbox working
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Packages and Libraries
»
FPSpreadsheet
»
Question about editors
TinyPortal
© 2005-2018