TGrid and TDBGrid with highlighting Row.
Original Reporter info from Mantis: mmvisual
-
Reporter name: Markus Müller
Original Reporter info from Mantis: mmvisual
- Reporter name: Markus Müller
Description:
TCustomGrid new option in TGridOption "goRowHighlight"
TGridDrawState new "gdRowHighlight"
TCustomDBGrid new option in TDBGridOption "dgRowHighlight"
- With this parameter the Grid Line with the selected Cell was hilighted.
- The event "OnDrawColumnCell" send in the "State" the "gdRowHighlight" if in the row is the cursor (selected).
-The highlighted cells becomes the Color := ColorToRGB(Color) XOr $1F1F1F;
Additional information:
See here: http://www.lazarusforum.de/viewtopic.php?p=44356#p44356
Tested with FPC2.5.1 Lazarus 0.9.31 Build 29158
It works fine.
In Attachment ist a file with:
- diff
- the two .pas Files
- Picture with show the resolution
Thank you for including this features into Lazarus
Mantis conversion info:
- Mantis ID: 18581
- Version: 0.9.31 (SVN)
- Fixed in version: 1.1 (SVN)
- Fixed in revision: 40276 (#efee6e8c)
- Target version: 1.2.0
- LazTarget: 1.2