*BeginCustomWizard()
Indicates the beginning of a custom wizard definition.
Syntax
*BeginCustomWizard(wiz_name, "wiz_label")
Arguments
- wiz_name
- The variable name of the custom wizard.
- wiz_label
- The descriptive label of the custom wizard.
Example
*BeginCustomWizard(test1, "Translator")
*Form(frm_type, "Select Translator Type", frm_type, dset)
*Form(frm_fea_trans, "Select FEA Results Translator", frm_fea_trans, dset)
*Form(frm_gen_trans, "Select General Translator", frm_gen_trans, dset)
*Form(frm_data_input, "Select Files", frm_data_input, dset)
*Form(frm_abtrans_input, "Select Files", frm_abtrans_input, dset)
*Form(frm_mvg_input, "Select Files", frm_mvg_input, dset)
*Dataset( dset, "Input dataset", dset1_def)
*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()
...
*EndCustomWizard()
Comments
A custom wizard can be included in the session by registering it in the preferences file.
Every *BeginCustomWizard() statement requires a closing *EndCustomWizard() statement.