Из доков
Цитата:
PerformFormLookup calls the SelectMode and SelectTarget methods (also in the FormControlName class) on the form given as argument. These two methods set the form in SelectMode and identify where the value is to be inserted (using the SelectTarget method).
Alternatively, you can call SelectMode yourself, passing a control in the lookup form as parameter. The value of the control will be pasted in the target control. In this case you do not have to pass a string as parameter to CloseSelect.