Tooltip with textbox when hovering over label

I haven't posted in a while... this is an unpolished proof of concept I had fun with for a moment.
I hope it works, I hope it helps, I hope it's simple enough
Unfortunately, its just as slow as the Access control tip text on my machine taking 2-3 seconds before anything is displayed.
 
Unfortunately, its just as slow as the Access control tip text on my machine taking 2-3 seconds before anything is displayed.
That's unfortunate indeed, but hey, it's good news that it works. What happens if you tweak the delays? any sweet spot?
 
@KitaYama

See if changing this code in the MouseMove events helps:
Code:
' ...
  If Not strText = "Enter the last name" Then
    strText = "Enter the last name"
    Me.lblInfo.Caption = strText
    DoEvents
    If IsTTSEnabled Then voc... etc
  End If
' ...
It might not help, but can't hurt to try. The MouseMove event fires repeatedly and can tax your processor even if it doesn't raise the error you saw.

(All this would be better coded into a separate function (or class) to avoid having to repeat in each MouseMove event.)
I'm sorry. I promised to test as soon as I'm back to my desk, but unfortunately couldn't test your code until the evening.

I used your code. The situation is much better, but still every now and then I receive the same error. I really can't find a specific rule when it happens. Sometimes it occurs even if I'm moving the mouse very slowly.
Since it's a stack call error, I assume something happening behind the scene that calls the same function over and over.

Note :
I don't intend to use this method. I was just watching the offered video and testing. No need to put your time to solve the problem.
Again thanks.

2024-12-16_17-51-24.gif
 
I don't intend to use this method. I was just watching the offered video and testing. No need to put your time to solve the problem.
but if it microsoft fault, they will be quick to report it for a fix:confused:
 

Users who are viewing this thread

Back
Top Bottom