Jump to content

Recommended Posts

Posted

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

Posted

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

Posted

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

Posted

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

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
×
×
  • Create New...