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
Contemporary Pascal Discu...
by
Blade
[
Today
at 01:27:47 am]
Drag and Drop from Window...
by
valter.home
[
Today
at 01:04:12 am]
sparta в 2.0.12
by
mav
[
Today
at 12:53:35 am]
Trunk builds + pre-relesa...
by
Gustavo 'Gus' Carreno
[
Today
at 12:50:54 am]
fpc for openbsd aarch64/a...
by
Gustavo 'Gus' Carreno
[
Today
at 12:38:33 am]
MOVED: Trunk builds + pre...
by
trev
[
Today
at 12:05:35 am]
(SOLVED) TSynEdit new syn...
by
Martin_fr
[April 12, 2021, 11:38:39 pm]
Tutorial for debugging co...
by
marcov
[April 12, 2021, 11:18:26 pm]
[solved] How to find comp...
by
Muso
[April 12, 2021, 10:54:30 pm]
Post-Pascal
by
marcov
[April 12, 2021, 10:49:40 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Question about editors (Read 571 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: 8266
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