![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
22/07/2004, 04:07
|
![Avatar de Bravenap](http://static.forosdelweb.com/customavatars/avatar27366_1.gif) | | | Fecha de Ingreso: noviembre-2002 Ubicación: Los Arroyos, El Escorial, Madrid
Mensajes: 2.084
Antigüedad: 22 años, 3 meses Puntos: 4 | |
A ver, me corrijo:
He probado a crear un formulario con un PictureBox (Picture1) y dos TextBox (Text1 y Text2). Text1 dará la posición X y Text2 la posición Y. El código es así de simple:
Código:
Private Sub Picture1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Text1.Text = X
Text2.Text = Y
End Sub
Espero que te sirva.
__________________ ¡¡NO A LA GUERRA!!
Si ponemos a nuestros mensajes títulos adecuados, la gente se animará más a abrirlos y resultarán más útiles en las busquedas. ¡No a los ayuuudaaa, urgenteee y similares! |