You use the Connection wizard to set events between two components within
a form without having to write much (or any) code by hand. You start the wizard
by clicking the Connection Mode ()
button in the Form Editor toolbar, then clicking the two components you want
to connect.
The third step in the Connection wizard is to specify the parameters for calling the target method or the values for the target property. You will see this step only if you selected Method Call or Set Property in the previous step.
If you selected Method Call in the previous step, the third step of the Connection wizard displays the list of method parameters as tabs, where each tab represents a single parameter. The name of each parameter indicates the parameter's type.
If you selected Set Property in the previous step, the tab indicates the type of the property being set.
On each tab, select the source from which the value (of the specified type) is acquired:
The source code generated for each of the parameters is displayed in the Generated Parameters Preview field.
See Also | |
---|---|
Connection Wizard: Select Source Event Specify Target Operation |