527104427 发表于 2013-7-15 12:10
继续请教,
问题1:如何在红色框中加个倒计时,自动选择第一个?
问题2:可否禁止按Ctrl多选?
.......
_SUB WIN1,W410H270,外置程序列表,
TEAM ENVI Sum=0|ENVI &&TDAT=|ENVI &&C1=|ENVI &&C2=|ENVI$ &&TAB=09|ENVI$ &&NLC=0a
ITEM &BUTDIR1,L15T208W60H25,确定,TEAM CALL START|,
ITEM &BUTDIR2,L330T208W60H25,取消,TEAM CALL STOP|,
ENVI &&TITLE=%TAB%+110:介质类型%TAB%+300:外置程序路径
TABL TABL1,W400H200,%&TITLE%,%&TDAT%, 0x10940
ENVI @TABL1.MSG=_%&WM_LBUTTONDOWN%: CALL PickWIM
ENVI @WIN1.MSG=#1: CALL OnMsg1
LABE -vcenter -center &LABE1,L159T208W97H25,,,
SET-def T=20 //20秒超时
TIME &Timer1,1000, CALL OnTimer1
CALL OnTimer1
THREAD* SearchWIM
_END
_SUB OnTimer1
ENVI @&LABE1=%&T% 秒
CALC &T=%&T% - 1
IFEX $%&T% < 0, TEAM ENVI @&Timer1=0| CALL START //OK 按钮
_END
....... |