If ever you created code to loop over controls to identify their type (.ControlType), if you’re like me, at times, you wanted to report the data in English, not as numbers.
It’s nice to know the ControlType is 104, but what the hell does that truly mean?!
So then you go looking through the Object Browser and eventually review the AcControlType Enum to find out that 104 = “Command Button”.
Now, while it is pleasant to do this manually every time, we need to automate this for our sanity.
Need not worry, we can simply create a simple function like:
