Private Sub Picture1_Click()
For i = 1 To 1000
Picture1.PSet (i, 20 + i), RGB(22, 44, 210)
Next
End Sub
Private Sub Picture1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Picture1.PSet (X, Y), RGB((X Mod 256), 80, (Y Mod 256))
End Sub