I use SetCursor like this:
Public Function SetCursor(ByVal lRow As Long, _
ByVal lCol As Long) As Boolean
stemp = moExtra.Screen.MoveTo(lRow, lCol)
End Function
SetCursor works great! but when I use the following
WaitForCursor as follows:
Public Function WaitForCursor(ByVal lRow As Long, _
ByVal lCol As Long) As Boolean
stemp = moExtra.Screen.WaitForCursor(lRow, lCol)
End Function
It just seems to ignore the function. Example:
Public Function Test ()
SetCursor 7, 14
WaitForCursor 7, 14
TransmitText sFName
End Function
I have code that runs before the code above, and when it gets to this snippit it seems to completely ignore the WaitForCursor. I step through it and it goes to the function, but it is as if it is not coded correctly because it doesn't seem to wait. Example, it trys to transmit the sFName somwhere else because it didn't wait for the cursor first. Can anyone help please?
Thanks!
Public Function SetCursor(ByVal lRow As Long, _
ByVal lCol As Long) As Boolean
stemp = moExtra.Screen.MoveTo(lRow, lCol)
End Function
SetCursor works great! but when I use the following
WaitForCursor as follows:
Public Function WaitForCursor(ByVal lRow As Long, _
ByVal lCol As Long) As Boolean
stemp = moExtra.Screen.WaitForCursor(lRow, lCol)
End Function
It just seems to ignore the function. Example:
Public Function Test ()
SetCursor 7, 14
WaitForCursor 7, 14
TransmitText sFName
End Function
I have code that runs before the code above, and when it gets to this snippit it seems to completely ignore the WaitForCursor. I step through it and it goes to the function, but it is as if it is not coded correctly because it doesn't seem to wait. Example, it trys to transmit the sFName somwhere else because it didn't wait for the cursor first. Can anyone help please?
Thanks!