
Page Captions, Descriptions, and Titles
Wizard pages all have a unique a caption, description, and title. Each property is designed for a certain purpose.
Wizard also makes it simple to automatically update the containing Window's title based on the current page selection.
There are even numerous options for formatting the title.
Page Captions and Descriptions
Each page has properties for tracking a caption and description.
A page's caption is a small phrase that is typically displayed in a bold or large font as header text for the page.
A page's description is one or more sentences that gives a brief description of the page.
The description typically appears directly under the page's caption.
Page Titles
Each page also has a title property.
The title of a wizard page typically is not directly visible within a page, however it can be used to construct the title for the containing Window.
Modifying the Containing Window's Title
Wizard has numerous features to automatically update the containing Window's title based on the selected page.
The first step in choosing how to automatically modify the Window title is to choose the title behavior.
The available title behaviors include:
- None - Do not modify the containing Window control's title.
- PageTitle - Displays the window title base text appended by a dash and the text in the current page's title property.
- PageCaption - Displays the window title base text appended by a dash and the text in the current page's caption property.
- Custom - Displays the window title base text appended by a custom string format text that can display page index, page count, caption, title, description, or custom text.
Say that you were designing a SQL connection wizard and you wanted your wizard's containing Window title to display a title in this format:
SQL Connection Wizard : (WizardPage Title) - Step (Page #) of (Page Count)
It's easy to do with Wizard and have the title automatically update on each page change.
|