IF KeyDown(KeyControl!) THEN //按住ctrl鍵選擇實現多選
IF THIS
THIS
ELSE
THIS
END IF
ELSEIF KeyDown(KeyShift!) THEN //按住shift鍵實現連選
Long ll_selectrow
Integer i
ll_selectrow = THIS
If ll_selectrow <= row Then
For i = ll_selectrow to row
THIS
Next
Else
For i = row to ll_selectrow
THIS
Next
End If
Else
THIS
This
END IF
Integer li_Selectrow
li_Selectrow = dw_
DO WHILE li_Selectrow <>
//處理內容
li_Selectrow = dw_
LOOP
編輯推薦
ASP
Microsoft
From:http://tw.wingwit.com/Article/program/PB/201311/24585.html