Jump to content
Sign in to follow this  
anixon

Clear ToolTip Screen

Recommended Posts

anixon

I am trying to use Tooltips to pop a help screen which does not clear after the sleep statement. The following is the code which does not work

CODE
test()

Func test()

while 1

$name = InputBox("", "Enter the detail ", "", "")

If $name = "H" then

tooltip("message I want to deliver", 500, 500, "This is the message")

sleep(1000)

ElseIf $name = "M" Then

menu()

Else

;It does something

endif

WEnd

EndFunc

Func menu()

while 1

$menuitem = InputBox("", "Enter the task routine:", "", "")

if $menuitem = 1 Then

test()

EndIf

WEnd

EndFunc

Any help would be appreciated thanks Ant.... :)

Share this post


Link to post
Share on other sites
Paulie

I am trying to use Tooltips to pop a help screen which does not clear after the sleep statement. The following is the code which does not work

Any help would be appreciated thanks Ant.... :)

I would recommend looking at "SplashTextOn()"

Or maybe even "TrayTip()"

Share this post


Link to post
Share on other sites
_Kurt

Yeah, that gives it more of a professional look. But, to originally solve your problem, simply add

ToolTip("")

after your sleep.

Kurt


Awaiting Diablo III..

Share this post


Link to post
Share on other sites
anixon

tooltip("")

Kurt

Thanks Kurt your help with tooltip("") works just fine. Sometimes the obvious is a little difficult to see or examples hard to find.

I did try tooltip() which of course does not work. I never thought of using "" within the ( ).

For other responders Msgbox and SplashTextOn of course both work well however the style of tooltips best suits my purpose.

Thanks for the help :) Ant....

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.