is it possible to use the planner as a "grid"?
I discovered that you could use the inplace editor instead. Using ieEdit as editor then you get one line. That could be the solution.
If you are referring to TAdvStringGrid, you can do all this with the grid.
You can use editor type edNumeric to accept only digits and you can use the OnGetEditorType event to specify different editors for different cells/columns. Please see the grid PDF developer guide for OnGetEditorType and the various built-in types of inplace editors.
Hi Bruno and thanks for the quick answer.
peEdit type has no such numeric only mode unfortunately.
and you cannot grab the keypressing while you edit (to filter out non numerics)?
Of course, that could be possible, but only by modifying the Planner internals, but as I said, the grid is designed for this, the planner not really.
Alright, maybe it's better to do this in the grid. You can do almost anything with that thing. :)
I think I/we bought the grid for the first some 20 years ago.