Jump to content
Sign in to follow this  
Vladi243

ToolTip() doesn't expire

Recommended Posts

Vladi243

I created a ToolTip, and I have 2 questions about it.

1. How can I set an expire time for the tooltip?

2. How can I make that the tooltip expire when I click with the mouse on it?

Edited by Vladi243

Share this post


Link to post
Share on other sites
Tomb

;Expiring tooltip example
ToolTip("This is an expiring tooltip", 0, 0)
sleep(5000)
ToolTip("");expired

Share this post


Link to post
Share on other sites
Vladi243

Now it's OK.

One more question: The text of the tooltip is too long. I want to drop a line in the middle of the text. How I do it?

Edited by Vladi243

Share this post


Link to post
Share on other sites
Valuater

Maybe...

$Text = "This is a long line " & @CRLF & " of text so I split it!"

ToolTip($Text, 10, 10)

Sleep(2000)

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites
Vladi243

Thanks

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×