WizardNextStepGet

Note: This page includes content based on the F1 documentation for Centura development. It may be partially converted to support APF development, but should be regarded to be of uncertain actuality. It is provided as is. Eventually, it should be replaced by documentation available from within Visual Studio.

SalString WizardNextStepGet(  )

The WizardNextStepGet method returns the name of the next step (as defined in Foundation1 properties).

Returns

The return value is the name of the next step.

Comments

Applications may override this method to change the design-time order of the steps in the wizard. This is useful for instance when different steps should be activated depending on the value of some parameter entered, or when the same step should be repeated multiple times.

Example

add new C# coding sample

Function: WizardNextStepGet
   Actions
       If bRepeatThisStep
          Return WizardCurrentStepGet()
public new SalString WizardNextStepGet()
{
	#region Local Variables
	#endregion

	#region Actions
	using (new SalContext(this))
	{
		if (WizardCurrentStepGet() == "Step1") 
		{
			if (sDefaultSite == SalString.Null) 
			{
				return "Step3";
			}
			else
			{
				return "Step2";
			}
		}
		else
		{
			if (WizardCurrentStepGet() == "Step2") 
			{
				return "Step3";
			}
		}
	}
		return "";
	#endregion
}