[VB6 ] 在游標處Print
Dim colorval As Long
Private Sub Form_Load()
colorval = RGB(255, 255, 255)
End Sub
Private Sub Form_MouseDown(Button As Integer, Shift As Integer, X As Single,
Y As Single)
If Button = 1 Then
Cls
PSet (X, Y), colorval
Print "滑鼠左鍵"
End If
If Button = 2 Then
Cls
PSet (X, Y), colorval
Print "滑鼠右鍵"
End If
End Sub
如果要在mousedown時在游標處print出字串,是非得加上PSet來指定位置?
又能否將這段步驟省去,只用print?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 59.115.84.252
推
220.134.166.68 07/06, , 1F
220.134.166.68 07/06, 1F
推
59.115.84.252 07/06, , 2F
59.115.84.252 07/06, 2F
討論串 (同標題文章)
Visual_Basic 近期熱門文章
PTT數位生活區 即時熱門文章