Er det muligt i VB6 at "måle" markørens position i f.eks. et grid? Hvis ja, hvordan gør man så?
Prøv at oprette en ny "Standart EXE"
Placer en label (label1) på formen, og skriv følgende kode:
Option Explicit
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Label1.Caption = "X er " & X & " Y er " & Y
End Sub
Nu får du musens position, se også MSDN:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/office97/html/output/F1/D2/S5A142.asp##################################
#There are only 10 types of people in the world: #
#Those who understand binary ant those who don't#
##################################
# JeZper #