Help with conditions

As Ben points out, it is useful to know how the navigational bar is set up.For the conditionals, I usually create a variable for each chapter. For example, I may have Ch1Done, Ch2Done, Ch3Done, etc. Give them all the same initial value--I usually use the default of 0 to mean false, but you can change it to literally be "False." These variables mean that the chapter has not been fully visited. When the user gets to the end of the chapter, you modify the variable to be 1 (or "True"). This can be triggered just by the last page of the chapter showing, or it might be triggered when the Next button is clicked on the last page. Place these actions at the end of each chapter, modifying the appropriate variable.Then, when the user goes back to the navigation bar, you give him access to the older chapters. As Ben says, a transparent shape on top of the button that prevents it from being clicked works well. If the variable is true, then you hide the appropriate shape so the underlying button is accessible. I'm always a fan of having two different buttons--if that fits in your current scheme. The inactive one is grayed out or is dimmed. That one is always visible. The active one is always Hidden, but when the variable is set to "True," then the active one is made visible and is always on top of the graphic for the inactive. For what you need, I would suggest changing the variable at the end of the chapter. If you want to be really fancy, you can set up a breadcrumb variable so that a user can exit out of the project and go back in to the same page.Kevin

Discussions have been disabled for this post