Usage Long GetEventObjOnLayer()
Description This method retrieves the number of the layer that the object is placed on. You can use this function in the UserDefined event handler.
Parameters
Return value Number of the layer that the object is placed on.
Programming Notes This method works for all kind of object.