Form.SelectMode使用窗体Lookup
Form
element.selectMode(ACT_InventLocationLookup_InventLocationId) //selectMode方法指定FormControl在单击时将关闭lookup窗口
-----------------------------------------
以下方法是数据源中某字段下Lookup的
public void lookup(FormControl _formControl, str _filterStr)
{
args args;
object fr;
;
args = new args();
args.name(formstr(ACT_InventLocationLookUp));
fr = ClassFactory.formRunClass(args);
fr.init();
if (formHasMethod(fr,identifierstr(setTmpData)))
{
fr.setTmpData();
}
this.performFormLookup(fr,_formControl);
}