Anyway to automate display of objects?

A

AP

Is there any way to step through the display of objects
in Visio Pro 2002? In other words, show selected objects
in some sequential order in the same way as a ppt
presentation?
Can this be accomplished in VBA/ActiveX or Macros?
 
D

Doug

John,

I'm working on a much simpler concept right now and am
stuck. I want one shape to appear or disappear based on a
custom property in another shape, no VBA, just playing
with the geometry parameter.

Shape1 drives Shape2.
Shape1 Property HideShape2 is fixed list Hide;Show

I have a formula in Shape2's custom property
Geometry1.NoShow
=if(Shape1!prop.HideShape2="Hide",TRUE,FALSE)

The formula always evaluates to TRUE, no matter what value
is in Shape1.

What am I not understanding? I've tried searching here
(no luck), read Visio 2002 help, tried a couple of books,
no go.

TIA

Doug
 
R

Rmckenna

You have to use the strsame function not =

strsame("string1","string2",ignorecase)

if(strsame(Shape1!prop.HideShape2,"Hide",true),TRUE,FALSE)
 
D

Doug

Now the bigger question...

How the 7734 did you know that? I keep looking for a good
reference that gets into this type of issue and am finding
nothing. Any pointers are appreciated - I hate posting
questions and prefer to work out these kinds of issues but
that requires a good set of references.

Thanks for any tips and suggestions.

Doug
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top