Skip to Content
0
Former Member
Mar 31, 2011 at 03:51 PM

SDK - EditTest - ChooseFromList带出值无效

32 Views

大家好,

在EditTest中使用系统ChooseFromList. 运行过程中点击可查看到数据, 可是当双击选择后, 带出选择值 窗口并无关闭, 此时带出值与选择的值相同, 此时ChooseFromList窗口没有关闭, 并且无法切换到别的控件继续录入数据.,

IChooseFromListEvent oCFLEvento = null;

oCFLEvento = ((SAPbouiCOM.IChooseFromListEvent)(pVal));

SAPbouiCOM.ChooseFromList oCFL = null;

oCFL = form.ChooseFromLists.Item(oCFLEvento.ChooseFromListUID);

try

{

edittext.Value = oCFLEvento.SelectedObjects.GetValue("Code", 0).ToString();

}

catch { }

请问是否有人遇到类似问题, 帮忙给点提示. 谢谢.