Expose an object as a property of a display

By default, when an object is added to a Graphic display, it is not exposed as a property of the display and it does not appear in the drop-down list in the code window in VBA because the object's
ExposeToVBA
property is set to
Not Exposed
.
To expose an object as a property or to write an event handler:
In the Graphics editor, in a display, do one of the following:
  • Right-click an object and select
    VBA Code
    .
    This changes the value of the
    ExposeToVBA
    property from
    Not Exposed
    to
    VBA Control
    , if the object exposes events, or to
    Type Info Extension
    , if the object does not expose events.
  • Right-click the object, select
    Property Panel
    , and change the
    ExposeToVBA
    property from
    Not Exposed
    to
    VBA Control
    or to
    Type Info Extension
    .
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal