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
Compiler Generated Tempor...
by
Coxy
[
Today
at 04:04:42 pm]
open source big projects
by
alaa123456789
[
Today
at 04:00:21 pm]
Cant Find Certain Dll
by
Weitentaaal
[
Today
at 03:51:58 pm]
Modern For Loop question
by
ASBzone
[
Today
at 03:51:13 pm]
Unit containing its own f...
by
lucamar
[
Today
at 03:48:32 pm]
Using App Bundles instead...
by
jmpessoa
[
Today
at 03:33:41 pm]
Problems on Windows 10
by
lainz
[
Today
at 03:09:17 pm]
[LAMW] Debug Apk From IDE
by
Leopreo
[
Today
at 02:47:49 pm]
Does Any1 know a Tool to ...
by
JD
[
Today
at 01:09:19 pm]
[SOLVED] Is there any way...
by
DmytroLev
[
Today
at 01:05:33 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Question about editors (Read 472 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: 7968
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