[V8i VBA] Select Multiple Elements using the ILocate Command

I am expanding my vba skills and started playing with the ILocateCommands. I started looking for a example that allows the user to select multiple elements but could not find one.

Can someone point me to an example that allows the user to select multiple elements using the ILocate Command using vba?


Thanks,

Gerald Piotrowski

Parents
  • Unknown said:
    Can someone point me to an example that allows the user to select multiple elements using the ILocate Command using vba?

    AFAIK there's no example, but you can write your own class that Implements ILocateCommandEvents.  In your class _Accept event, you can add the located element to the selection set.  Then, restart your command, so user can continue to choose elements.

     
    Regards, Jon Summers
    LA Solutions

Reply
  • Unknown said:
    Can someone point me to an example that allows the user to select multiple elements using the ILocate Command using vba?

    AFAIK there's no example, but you can write your own class that Implements ILocateCommandEvents.  In your class _Accept event, you can add the located element to the selection set.  Then, restart your command, so user can continue to choose elements.

     
    Regards, Jon Summers
    LA Solutions

Children