text: <s>[INST] FTview 10.0: How do I expose a polygon to VBA? I have a box made of a polygon. I want the operator to activate some VBA code by clicking this box. I don't want it to be a button - just a box. When I select VBA control in the property panel, it switches to Type info Extension - and I cant have VBA code on this box. How do I get the VBA code to activate upon click on this box? [/INST] the Polygon object only exposes the Properties and the Methods provided by the Element object, it does not expose Events to VBA. As a workaround you could:\n 1. Add a Touch animation to your Polygon, and using a Toggle command you can toggle a Memory tag\n 2. Add a Numeric Display to your Display and add the previously defined Memory tag to the Expression field\n 3. Expose the Numeric Display to VBA\n 4. Use the Numeric Display Change Event to execute your VBA code\n The code will be executed every time you click the Polygon. Note: you can hide the Numeric Display from the Graphic Display: right click on it, then select  Properties --> Common and uncheck Visible\n </s>