Author Topic: icon-set functionality for 13 different images  (Read 2250 times)

0 Members and 1 Guest are viewing this topic.

Aeon

  • Jr. Member
  • **
  • Posts: 29
icon-set functionality for 13 different images
« on: March 05, 2010, 08:10:26 AM »
i was looking to implement the functionality of an icon set (where your input value determines which icon you see).
the only problem being, from what i've read, that the amount of icons in an icon set is limited to 5.

i was wondering if anyone has done this before. i need to be able to do it for 13 different images.

it's going to be used to display a different icon depending on the value that's being read out of a database (currently an excel sheet but shouldn't make a difference)

thanks,

Ken

Paul Herber

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2935
    • Paul Herber's website
Re: icon-set functionality for 13 different images
« Reply #1 on: March 05, 2010, 08:29:25 AM »
Put all 13 images onto the shape page, all at the same coordinates, group them all.
Make the visibility of each shape dependent upon a custom property value in the group shape.

Electronic and Electrical engineering, business and software stencils and applications for Visio -

https://www.paulherber.co.uk/

Aeon

  • Jr. Member
  • **
  • Posts: 29
Re: icon-set functionality for 13 different images
« Reply #2 on: March 05, 2010, 08:47:27 AM »
AAAAAH thanks, i was tring just that.

problem was that since it's an external image you can't change the transparency, so i resorted to bringing the width of all the non selected images to 0 mm

i forgot about grouping them though so i set the custom property to  a single shape which had as a result that once resized and deselected it was a b**ch to reselect to have the custom property available again.

will finish it right away

thanks again