ray_mosley
10 years agoFrequent Contributor
Passing object property as parameter
I have an object which has both the PopupMenu and MainMenu properties. I want to create a general function that will support "PopupMenu" or "MainMenu" as a parameter. Another parameter would spe...
- 10 years ago
Sounds like you'll want to check if the object supports one or the other.
Try using aqObject.IsSupported to see which the object supports and then call the function based on this result.