Jump to content

Clear ToolTip Screen


anixon
 Share

Recommended Posts

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.... :)

Link to comment
Share on other sites

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()"

Link to comment
Share on other sites

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....

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...