So plenty of options. I wouldn't be able to know which one is optimal. What I do is focus on one and if it works - it works.
Long road to go to be able to review code in terms of performance, readability, room for bugs etc.
RTTI
I haven't checked it, because I wasn't familiar with the RTTI abbreviation. It did not sound like something that I could use.
A quick search reveals that people reported crashes when using it, I don't know what's the case particularly (maybe not self-explanatory to use?), but I also cannot find a documentation about it.
Edit: This looks useful to read:
https://wiki.freepascal.org/RTTI_controlsAt least I am sure that I won't subclass TStringGrid and I am starting to think this is not even needed.
I don't need that much of an extended functionality.
What I need is columns displaying cells in a certain format, depending on what the user wants them to be.
Hooking cell changes should let me reformat them, but there's one more potentially problematic scenario.
I am 100% sure I want to use OP for this project, but with GTK I can have checkboxes and images in cells.
So I am aiming to have these column types:
- bool (checkbox)
- integer
- real
- string
- color
- image
These will suffice, but I am more inclined to think that I will actually have to use TCustom or TDraw Grids for those. It sounds as if that's the case, but I haven't looked into them yet.
So I think the question remains - what control fits those requirements the most.
It'd be vrry cool to use one that is capable of doing all that for me