Yes! The suggestion from strongm worked. Thanks very much. I changed to Form.MousePointer and added DoEvents inside my loops. The mystery of MousePointer working in my other event procedures is due to the mouse being over the command button when the MousePointer call was made. In event...
Thanks for the response. I am aware that I was only changing the mousepointer for the command button, but I do the exact same thing in an event procedure for another command button that does not have a common dialog call and the mouse pointer changes as long as the mouse is over the form...
Thanks for the response. Here is the abbreviated code for my procedure:
Private Sub CmdCompare_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)'Originally I tried the Click event but it wasn't working either
Variable declarations here
CommonDialog1.Filter =...
I am trying to change the mouse pointer to an hourglass in an event procedure. In most cases this is easy, but in any event procedure that has a msgBox or CommonDialog object the pointer wiil not change from the default (arrow) to the hourglass. I have tried many of the suggested fixes in other...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.