Hi!!
I have a textbox.mouserhover event, which creates a tooltip with the content of the textbox. Because of the fact, that it keeps creating tooltips when the mouse stays above the textbox, i want to dispose the tooltip after it disapeared/hides or when the muserhoversubroutine ends.
The problem is, that i can't dispose it at the end of the subroutine, because I create it there. Maybe there is an option to wait for about ten seconds(keep the programm in idle mode) and then dispose it . Furthermore I don't have a clue how to address a tooltip after i leave a sub, so i could dispose it later or in an other event.
I have a textbox.mouserhover event, which creates a tooltip with the content of the textbox. Because of the fact, that it keeps creating tooltips when the mouse stays above the textbox, i want to dispose the tooltip after it disapeared/hides or when the muserhoversubroutine ends.
The problem is, that i can't dispose it at the end of the subroutine, because I create it there. Maybe there is an option to wait for about ten seconds(keep the programm in idle mode) and then dispose it . Furthermore I don't have a clue how to address a tooltip after i leave a sub, so i could dispose it later or in an other event.