De nada, un gusto. Estamos para ayudar

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 oX, oY, dX, dY, x, y As Integer
Private Sub Cmd_Graficar_Click()
x = oX + Val(Txt_CordX.Text)
y = oY - Val(Txt_CordY.Text)
Pic_Graf.Line (dX, dY)-(x, y), vbBlue
End Sub
Private Sub Form_Load()
Label1(0).Caption = "X"
Label1(1).Caption = "Y"
Txt_CordX.Text = ""
Txt_CordY.Text = ""
Me.ScaleMode = 3
Pic_Graf.ScaleMode = 3
Pic_Graf.Height = 400
Pic_Graf.Width = 400
Pic_Graf.AutoRedraw = True
Pic_Graf.Line (200, 0)-(200, 400)
Pic_Graf.Line (0, 200)-(400, 200)
oX = 200
oY = 200
dX = 200
dY = 200
End Sub
'<-- Codigo ofrecido por Tutores.org -->
Private Sub Form_Resize()
Form1.Cls
Form1.AutoRedraw = True
Form1.DrawStyle = 6
Form1.DrawMode = 13
Form1.DrawWidth = 2
Form1.ScaleMode = 3
Form1.ScaleHeight = (256 * 2)
For i = 0 To 255
Form1.Line (0, Y)-(Form1.Width, Y + 2), RGB(0, 0, i), BF
Y = Y + 2
Next i
End Sub
Citarwhile(1)
{
if( PORTA.(X)==1)
{
cnt=0;
while(cnt<(cantidadpines+1)
{
PORTC=cnt;
cnt++;
}
}
}
Citarwhile(1)
{
if( PORTA.(X)==1)
{
cnt++;
if(cnt<(cantidad pines + 1))
PORTC=cnt;
else
cnt=0;
}
}