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>))
Browser ID: smf (is_webkit)
Templates: 1: Printpage (default).
Sub templates: 4: init, print_above, main, print_below.
Language files: 1: index+Modifications.english (default).
Style sheets: 0: .
Hooks called: 48 (show)
Files included: 25 - 925KB. (show)
Memory used: 746KB.
Tokens: post-login.
Cache hits: 8: 0.00122s for 22,302 bytes (show)
Cache misses: 2: (show)
Queries used: 11.

[Show Queries]