用鼠标的动作映射按功能键
MOUBTN (file-level or record-level keyword)
Value Meaning
*ULP Unshifted Left button Pressed
*ULR Unshifted Left button Released
*ULD Unshifted Left button Double click
*UMP Unshifted Middle button Pressed
*UMR Unshifted Middle button Released
*UMD Unshifted Middle button Double click
*URP Unshifted Right button Pressed
*URR Unshifted Right button Released
*URD Unshifted Right button Double click
*SLP Shifted Left button Pressed
*SLR Shifted Left button Released
*SLD Shifted Left button Double click
*SMP Shifted Middle button Pressed
*SMR Shifted Middle button Released
*SMD Shifted Middle button Double click
*SRP Shifted Right button Pressed
*SRR Shifted Right button Released
*SRD Shifted Right button Double clickThe
举例:
A MOUBTN(*URP CF03)
A MOUBTN(*SRP CF12)
A MOUBTN(*ULD ENTER)
右击= F3 ; 按SHIFT右击= F12 ; 双击=enter
画面DSP中定位按键
在DSP文件中定义:
FBFKEYS 2Y 0B 22 2PSHBTNFLD
PSHBTNCHC(1 'F01=Exit' CA01)
PSHBTNCHC(2 'F06=DSPMSG' CA06)
PSHBTNCHC(3 'F10=CMD' CA10)
PSHBTNCHC(4 'Enter=Accept')