anixon Posted January 19, 2007 Posted January 19, 2007 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 workCODEtest() 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....
Paulie Posted January 19, 2007 Posted January 19, 2007 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 workAny help would be appreciated thanks Ant.... I would recommend looking at "SplashTextOn()"Or maybe even "TrayTip()"
_Kurt Posted January 19, 2007 Posted January 19, 2007 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..
anixon Posted January 19, 2007 Author Posted January 19, 2007 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....
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now