Show / Hide graphic elements

I want to show the progress of a case in my document graphically so I have created 6 GIFs (a family) in 4 variants (a set). These GIFs are arrowshaped and shall visualize step 1,2,3 and so on. The familys shall visualize how far the progress within each step has come.

Family: 6 GIFs numbered from 1 to 6

Set:

White background - Grey number (not started)

White background - Black number (started)

Green background - Black number (action verified)

Red background - Black number (action closed)

when I use “hide when…” I manage to switch on and off the way I want, but only within the same family. The “hide when” command have influence on all the GIFs placed in the same row or in the same cell in a table, so I cannot get it like I want with that command.

How can I replace a GIF with another programatically ?

Example: Arrow 1 is red, arrow 2 is green but shall be replaced with the red one.

Any advice?

Subject: RE: Show / Hide graphic elements

Yes, hide formulas apply to the entire paragraph.

You could create a table inside a table cell to have a different formula for each element.

Or, you could make them image resources and use a formula to figure out which image to include in each spot. For instance, below I use the formula: @If(@Random < 0.5; “about1.gif”; “about2.gif”)

Subject: RE: Show / Hide graphic elements

Thanks.

Your @if command was interesting and I will test if this will give me the solution I want to have.

My images is saved as a image resource.

Subject: RE: Show / Hide graphic elements

This worked perfect on screen but why dosen’t the graphic show on the printed copy of the form?

Subject: RE: Show / Hide graphic elements

I don’t know – they print okay for me.

Subject: RE: Show / Hide graphic elements

The reason I didn’t see anything on the print was that I put my graphic and code in a layer.

When I put the graphic and code into a picture element it worked.

Thanks again for your advice.