Jajajaja....como sigamos asi, veo que hacemos el programa entero
Esta sección te permite ver todos los mensajes escritos por este usuario. Ten en cuenta que sólo puedes ver los mensajes escritos en zonas a las que tienes acceso en este momento.
Mostrar Mensajes MenúDim caract as String,codigo as string
codigo="65"
caract=chr$(codigo)
Dim Color As ColorConstants
Dim Color As ColorConstants, X1 As Integer, Y1 As Integer
Private Sub Picture1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = 1 Then
Picture1.PSet (X, Y), Color
End If
End Sub
Private Sub Picture1_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = 2 Then Exit Sub
Picture1.PSet (X, Y), Color
End Sub
Private Sub Picture1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = 1 Then Picture1.PSet (X, Y), Color
X1 = X
Y1 = Y
End Sub
Private Sub Picture1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Dim X2 As Integer, Y2 As Integer
If Button = 1 Then
X2 = X
Y2 = Y
Picture1.Line (X1, Y1)-(X2, Y2), Color
X1 = X2
Y1 = Y2
End If
End Sub