Used to copy the current values of any number of controls to an invisible 'initial value' control that must be enclosed within the outer control.
Values are copied if (a) the midpoint of the 'initial value' control lies inside the outer control display area (b) the 'initial value' control is narrower than the outer control (c) the combo and textbox have the same parent object (so that superimposed textboxes and combos on different tabs, for example, are not regarded as linked) (d) the textbox tag contains the text 'xfCopyVal'
The target form
xf.Controls.AutoCopyValsToEnclosedControls "fmOrderSub"