This project is read-only.

cCompositeControls.regRef Method

Adds a Composite Controls object reference to the global object references collection.



object A reference to a cCompositeControls class instance.


Name Required / Optional Data Type Description
obj Required Object An ActiveX or Composite Controls object which is to be registered in the global references collection.


Objects are first tested for a Tag property. If found, value of Tag property is used as the key. Tag property value is set to the current SESSION_ID value concatenated with the object's memory address.

Objects which do not have a Tag property are registered under the memory address obtained using the ObjPtr() function. Objects with multiple interfaces may perform unreliably.

Last edited Dec 22, 2010 at 2:22 AM by vba_junkie, version 1


No comments yet.