SetComponentRefcon
You can use theSetComponentRefconprocedure to set the reference constant for your component.
PROCEDURE SetComponentRefcon (aComponent: Component; theRefcon: LongInt);
aComponent- A component identifier that specifies the component whose reference constant you wish to set.
theRefCon- The reference constant value that you want to set for your component.
DESCRIPTION
TheSetComponentRefconprocedure sets the value of the reference constant for your component. Your component can later retrieve the reference constant using theGetComponentRefconfunction, described next.