I pressed enter and posted the above before I was completely finished...
The first image shows page 1 and its corresponding shapesheet. As I mentioned previously, I added shape data fields to the page, which makes changing values very accessible as shown by the shape data dialog that is hovering over the page. You can certainly do the same thing with a control shape if you prefer.
The second image shows the UIVisibility formula for Page-3 -- here's where the tricky syntax resides:
=Pages[Page-1]!ThePage!Pro
The three parts of this expression refer to: 1) a specific page; 2) the page shapesheet; 3) a specific cell in the shape data (aka custom properties) section.
I'd be happy to post the Visio file itself if you'd like it.
Scott
Main Topics
Browse All Topics





by: scottPosted on 2009-09-11 at 06:07:27ID: 25308954
You're headed in the right direction, but the shapesheet syntax for what you're trying to do is a bit, well, strange! One thing that might help, if you haven't seen it yet, is a page in the shapesheet reference documentation called About Cell References. Search the SDK help for the word "References" and you should find the page. Then click to expand the subtopic Cell reference syntax and examples.
I implemented something very close to what you want but didn't bother with a control shape. I just created a set of shape data fields on page one -- on the page itself. So if you right click on the page and choose Data/Shape Data..., the shape data dialog appears and you can set hide page values to True or False.
Page-1 and Page-1 shapesheet
Page-3 and Page-3 shapesheet