Passing values between forms

For passing parameters from one form to another a special class Args is usually used.

Example:

The code of button click event of FormA which calls FormB and passes some parameters to that form.

The code of init method of FormB

The code of ok button click event of FromB

The above code is cut out from a demo which you can download [[Media:PassingParametersBetweenForms.xpo| here]].