Upon clicking enter our application begins it's processing. Is there a way to disable (or change the mouse pointer) for as long as it is doing it's processing to let the user know that the program is still working.
Printable View
Upon clicking enter our application begins it's processing. Is there a way to disable (or change the mouse pointer) for as long as it is doing it's processing to let the user know that the program is still working.
sure
Me.MousePointer = vbHourglass
then
Me.MousePointer = vbDefault
resets it
------------------
Mark Sreeves
Analyst Programmer
[email protected]
A BMW Group Company
Notice that a button can still be pressed, whether the mousecursor is an hourglass or not.
You can disable the form using me.enabled = false .
You can also use a progressbar to indicate the process is still in progress.
Can you change the pointer to a picture file?
Like a novelty pointer?
You can by setting the Value to vbCustom and Loading an Image into the MouseIcon Property, but the Image has to be in a Cursor or Icon Format, ie.
Code:Screen.MouseIcon = LoadPicture("..\Common\Graphics\Icons\Arrows\Point09.ico")
Screen.MousePointer = vbCustom
------------------
Aaron Young
Analyst Programmer
[email protected]
[email protected]