ObjectResetState
- Last UpdatedMay 06, 2025
- 1 minute read
This function resets an ActiveX control back to its configured state. For example, you can use it to revert the pens in Process Analyst back to the original configuration in Graphics Builder.
Syntax
ObjectResetState(nAN)
nAN
The reference AN for the ActiveX control.
Return Value
0 if successful, or an error code if an invalid AN is used or the AN is not associated with an ActiveX control.