Sign in to follow this  
Followers 0
Vladi243

ToolTip() doesn't expire

6 posts in this topic

#1 ·  Posted (edited)

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



;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

#4 ·  Posted (edited)

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

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

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  
Followers 0