|
-
Apr 11th, 2000, 12:18 AM
#1
Thread Starter
Junior Member
Ben, once you have the co-ordinates this is what you have to do:
something like
if x = 0000 and y = 0000 then
display/change what ever you want
else
if x = 1111 and y = 1111 then
display/change what ever you want
else
etc
etc
etc
0000 and 1111 are just examples these would really be like 2367 or 6534 etc
Rememember?
-
Apr 11th, 2000, 12:49 AM
#2
Thread Starter
Junior Member
Private Sub Form_Load()
Picture1.Picture = LoadPicture("C:\downloads\map.bmp")
'this bit loads your picture into your picture box
End Sub
'this next bit is the good bit cos it will show you the co-ordinates in a text box called text1.text
Private Sub Picture1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Text1.Text = "X: " & X & "Y: " & Y
End Sub
copy it as it appears or she'll go tits up mate
Rhys
See you next week g'boy!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|