Author Topic: Hiding Shapes  (Read 2313 times)

0 Members and 1 Guest are viewing this topic.

mikeyb

  • Newbie
  • *
  • Posts: 1
Hiding Shapes
« on: February 12, 2011, 11:49:16 AM »
Using Visio 2010
I have a layout of a parking lot and all my shapes are vehicles parked in the lot. I have the vehicles tied to a database. Is there anyway if a condition in the database changes you could have certain shapes blink? What I'm trying to do is show when a vehicle in the parking lot is due for an oil change.

Thanks

vojo

  • Hero Member
  • *****
  • Posts: 1581
Re: Hiding Shapes
« Reply #1 on: February 12, 2011, 03:49:43 PM »
that gets into animation.....several threads on the forum about that

In a nutshell, need VBA to show/hide shape at a blink rate

What you could do is mark the parking space a color ...say "red"....when a new car is present
Some entry in the DB to say "new" or "old"

then to paraphrase...soemthing like

parkingspace!filleforegnd = if (samestr(index, "new"), <red>, <grey>))