Author Topic: tComponent.TagPointer  (Read 3912 times)

Martin V

  • Full Member
  • ***
  • Posts: 139
« on: December 19, 2010, 11:15:31 pm »

I would like to have a very simple additional property for tComponent. The "Tag" property let you store a user longint value (4 bytes). I often used this "Tag" as a pointer where I store user data in a record. But this does not work on 64 bit OS with 8 byte pointers. It would be the simpliest way to create an additional property TagPointer or TagPtr : pointer. There's another proposal to change the Tag property
but this makes problems with old code. I would prefer an additional property and variable.

M. Vieregg


  • Global Moderator
  • Hero Member
  • *****
  • Posts: 9085
  • FPC developer.
Re: tComponent.TagPointer
« Reply #1 on: December 20, 2010, 01:16:49 pm »
tag already has been extended to 64-bit out of Delphi compatibility a few weeks ago


TinyPortal © 2005-2018