Share

About Updating an ActiveX Property With Vlax-put-property (AutoLISP)

Product Documentation
Intermediate

The vlax-put-property function updates the property of an object. The function requires the following arguments:

  • A VLA-object identifying the object whose property you are updating
  • A symbol or string naming the property to be set
  • The value to set the property to

If vlax-put-property updates the property successfully, it returns nil.

The following function call changes the size of the Microsoft Word toolbar buttons by updating the LargeButtons property of the CommandBars object:

(vlax-put-property combars 'LargeButtons :vlax-true)

nil

Was this information helpful?