发表于:2005-02-01 13:11:00
楼主
各位大虾,intouch使用碰到了问题,popup类型的窗口弹出的时候,程序的执行好行并不停下来,弹出对话框后面的代码也都一气执行到底。我想实现如确认对话框一样的功能,代码如下,但由于上述原因,无论如何都不行,请有经验的大虾指点,多谢。
CALL L2CommonSetMsgBuff( );
L2_Common_Message_Buff = "Do you really want to reject slab : " + StringTrim(L2_Common_Select_Slab_ID,3);
Show "L2_ConfirmBox";
''L2_Common_Confirm_OK在确认对话框关闭的时候设定。
IF L2_Common_Confirm_OK == 1 THEN
{Send event to server}
#L2PDIONComm.initStringData();
#L2PDIONComm.addString( "c_Reject_Reason", StringTrim(L2_PDION_Select_Reject_Reason,3));
#L2PDIONComm.addString( "i_Shift", StringTrim(L2_PDION_Select_Shift,3));
#L2PDIONComm.sendStringData( "EVT_HMI_PDI_ALL_REJECT", "TRK_JOB", StringTrim(L2_Common_Select_Slab_ID,3));
#L2PDIONComm.releaseStringData();
ENDIF;