ParameterValidate

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.

SalBoolean ParameterValidate ( )

The ParameterValidate method is called by the framework when the parameter lists should be validated in order to check for mandatory values. Users may override this and create own validation.

Returns

TRUE if the validation was succeded. FALSE otherwise (preventing users from leaving the current wizard step).

Example

Function: ParameterValidate
   Actions
      If Not SalIsNull( dfnPercentDeleted ) And
                SalIsValidInteger( dfnPercentDeleted ) And
               ( dfnPercentDeleted >= 0 ) And
               ( dfnPercentDeleted <= 100 )
         Return TRUE
      Else
         Call AlertBox( TASK_RebuildValueErr, CAPTION_Error, INFO_Ok )
         Return FALSE
new C# coding.
public new SalBoolean ParameterValidate()
{
	#region Actions
	using (new SalContext(this))
	{
		return true;
	}
	#endregion
}