Microsoft Deployment Toolkit
Documentation Library Step 4: The Next Button Is Clicked in the Custom Wizard Page |
When the user completes the fields on the custom wizard page, he or she clicks Next, which calls the OnNextClicked method. The OnNextClicked method performs any necessary tasks before proceeding to the next wizard page, such as recording any configuration changes made on the custom wizard page.
For the example custom wizard page, the override for the OnNextClicked method is implemented in the LocationPage.ccp file. In the OnNextClicked method in the example custom wizard page, the following methods are called:
· InitSection. This method initializes the header (label caption) for the summary data displayed on the Summary page. Typically, you can set this value using the DisplayName() function. The data associated with this caption is saved using the SaveFields method.
· SaveFields. This method saves field values to task sequence variables and to the data displayed on the Summary page.
Related Topics