TEAM ENVI^ ENVIMODE=1| ENVI^ FORCELOCAL=1
SET &WM_LBUTTONDOWN=0x0201
SET &WM_LBUTTONUP=0x0202
SET &WM_COMMAND=0x0111
SET &EN_CHANGE=0x0300
SET &WM_KEYDOWN=0x0100
SET &WM_SETFOCUS=0x0007
SET &EM_GETSEL=0x00B0
SET &EM_SETSEL=0x00B1

WIN1
_SUB WIN1,W387H254,无激活无焦点按钮2,
    EDIT -vcenter -3D   EDIT1,L106T56W260H30,EDIT1,,
    ITEM -na &&IA,L12T57W30H30,A,TEAM ENVI @EDIT1=%EDIT1%A| ENVI @EDIT1.POSTMSG=%EM_SETSEL%:999999:999999
_END
