Page 1 of 1

Using The Tag Property

PostPosted: January 17th, 2006, 3:07 pm
by Don Simmonds
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

PostPosted: January 17th, 2006, 6:47 pm
by Johnny_Bit
Code: Select all
TRecord=record
..
PRecord=^TRecord

var
prDummy: PRecord
..

Component.Tag=Integer(prDummy)

PostPosted: January 17th, 2006, 7:38 pm
by Don Simmonds
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 :D