Visio Guy

Visio Discussions => Programming & Code => Topic started by: mikeyb on February 12, 2011, 04:49:16 PM

Title: Hiding Shapes
Post by: mikeyb on February 12, 2011, 04:49:16 PM
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
Title: Re: Hiding Shapes
Post by: vojo on February 12, 2011, 08: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>))