Parameters property
As used in component classes
Use the Parameters property to specify parameters passed to validators defined in a component class. A Parameters value is usually a string of Windows client keywords and their parameters.
Since component classes are reusable, parameters in a reference to a component class in one form may be different from parameters in a reference to the same component class in another form.
For example, component class CC1 has validator V1. V1 takes two parameters. Because the component class will supply the parameters, the validator refers to them as %1, %2. Note that these are position parameters, as opposed to named parameters.
The syntax %1, %2 allows that any instance of CC1 in a form can pass the appropriate parameters. For example, Form1 uses CC1 and passes P(Prop1) and C(Comp2). The Parameters value P(Prop1), C(Comp2) passes the values of P(Prop1) and C(Comp2) as %1 and %2 to the validator V1.
Another form that also uses CC1 may pass different values as %1, %2, such as V(Var1), C(MyComp).
As used for event handlers or validators
Use the Parameters property to set specifications for an event handler or validator. For event handlers and validators of the type Inline Script, select the Edit InLine Script field, and then click the ellipsis ( ) button to open the script editor. For other types, click the Parameters ellipsis button to set the parameters. Specifications are redisplayed in the Parameters field as a string of Windows client keywords and their parameters.