Feature request: Multiline column titles for TStringGrid
Original Reporter info from Mantis: wp @wpam
-
Reporter name:
Original Reporter info from Mantis: wp @wpam
- Reporter name:
Description:
Sometimes it would be nice to be able to show column titles of a string grid in multiple lines. There is a possibility to achieve this by means of the OnPrepareCanvas event, but it would be more straightforward for the application developer to have this feature directly avaiable in the Object Inspector.
The attached patch
- implements the correct property editor for the GridColumnTitle.Caption such that multiline text can be entered in the OI
- adds a property "Multiline" to TGridColumnTitle
See the attached project for a demonstration.