TGridColumn .Tag and TListColumn.Tag should be declared as PtrInt, not Integer
Original Reporter info from Mantis: zoran
-
Reporter name: Zoran Vučenović
Original Reporter info from Mantis: zoran
- Reporter name: Zoran Vučenović
Description:
TListColumn.Tag (unit ComCtrls) and TGridColumn.Tag (unit Grids) properties are declared as Integer.
Unlike these two, TComponent.Tag is PtrInt. I believe that these should also be PtrInt.
Then, Tag will be able contain pointers and objects. Now, when it is Integer (which is always 32-bit), it can't hold memory addresses on 64-bit.
Additional information:
I'm attaching the patch.