AnByName
- Last UpdatedFeb 28, 2024
- 1 minute read
Retrieves the animation point number of an ActiveX object.
Syntax
LONG AnByName(sName)
sName:
The name given to the ActiveX object. This name is visible in the "Identification" tab of the ActiveX control in the Graphics Builder and is used to access the object.
If the animation number for an object is 35 and you renamed the object to "Fred", use AnByName("Fred"); which will return 35.
If you left the name of the object as the default use AnByName("AN35"); which will return 35.
Return Value
The animation point number of the object - if successful, otherwise an error code is returned.