## Using The Tag Property

Please discuss general Delphi programming topics here.

### Using The Tag Property

Will somebody please assist me with an example of how to attach a Record or an array to the Tag property of an object

Thank you
Don
Don Simmonds
Member

Posts: 2
Joined: January 17th, 2006, 3:03 pm

Code: Select all
TRecord=record..PRecord=^TRecordvarprDummy: PRecord..Component.Tag=Integer(prDummy)
Johnny_Bit
VIP Member

Posts: 455
Joined: June 15th, 2003, 9:56 am

Thank you Johnny_bit
Problem solved it worked perfectly even though I didn't quite understand the line with the pointer (unless it declared a variable to hold the pointer?)

Regards
Don
Don Simmonds
Member

Posts: 2
Joined: January 17th, 2006, 3:03 pm