*ShowForm()
Specifies a user-defined form to be displayed when the custom wizard is used.
Syntax
*ShowForm(frm_name, HIDE_NEXT|SHOW_NEXT, HIDE_BACK|SHOW_BACK, HIDE_FINISH|SHOW_FINISH)
Arguments
- frn_name
- The variable name of an existing form to be displayed.
- HIDE_NEXT|SHOW_NEXT
-
- HIDE_NEXT
- Conceals the next button on the panel.
- SHOW_NEXT
- Displays the next button on the panel.
- HIDE_BACK|SHOW_BACK
-
- HIDE_BACK
- Conceals the back button on the panel.
- SHOW_BACK
- Displays the back button on the panel.
- HIDE_FINISH|SHOW_FINISH
-
- HIDE_FINISH
- Conceals the finish button on the panel.
- SHOW_FINISH
- Displays the finish button on the panel.
Example
*BeginFlowControl()
*ShowForm(frm_type, SHOW_NEXT, HIDE_BACK, HIDE_FINISH)
*if(dset.type_name.value == "Abtrans")
*ShowForm(frm_abtrans_input, HIDE_NEXT, SHOW_BACK, SHOW_FINISH)
*elseif(dset.type_name.value == "FEA Results")
*ShowForm(frm_fea_trans, SHOW_NEXT, SHOW_BACK, HIDE_FINISH)
*ShowForm(frm_data_input, HIDE_NEXT, SHOW_BACK, SHOW_FINISH)
*elseif(dset.type_name.value == "General")
*ShowForm(frm_gen_trans, SHOW_NEXT, SHOW_BACK, HIDE_FINISH)
*ShowForm(frm_data_input, HIDE_NEXT, SHOW_BACK, SHOW_FINISH)
*else()
*ShowForm(frm_mvg_input, HIDE_NEXT, SHOW_BACK, SHOW_FINISH)
*endif()
*EndFlowControl()
Context
*BeginFlowControl()
Comments
By default, the next, back, and finish buttons are concealed on the panel. The next and back buttons allow you to access the next or previous panel, respectively, in the display sequence.
The finish button executes the procedure, Proc_Finish, and exits the custom wizard.
The close button exits the custom wizard without executing it.