Bert Posted April 21, 2006 Share Posted April 21, 2006 I noticed something odd in a script, and I couldn't quite figure it out. $Go = GUICtrlCreateIcon("go.ico", -1, 10, 1,16,16) GUICtrlSetTip($Go,"Run with Beta") The tip will work fine, just as long as I don't click on the control. If I click on it, the tip will not show up anymore. Is this normal, or am I missing something? The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted April 21, 2006 Moderators Share Posted April 21, 2006 I noticed something odd in a script, and I couldn't quite figure it out. $Go = GUICtrlCreateIcon("go.ico", -1, 10, 1,16,16) GUICtrlSetTip($Go,"Run with Beta") The tip will work fine, just as long as I don't click on the control. If I click on it, the tip will not show up anymore. Is this normal, or am I missing something?Parameters controlID The control identifier (controlID) as returned by a GUICtrlCreate... function. tiptext Tip text that will be displayed when the mouse is hovered over the control. I'd say it was by design Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Valuater Posted April 21, 2006 Share Posted April 21, 2006 i know what you are working on... ' this should work If WinActive("classname=SciTEWindow") Or WinActive($My_Hwnd) Then TraySetToolTip("SciTE active") GUICtrlSetTip( $Go, "Run Beta") 8) Link to comment Share on other sites More sharing options...
Bert Posted April 21, 2006 Author Share Posted April 21, 2006 That did the trick. Thanks! The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
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