Sign in to follow this  
Followers 0
Bert

Guictrlsettip Problem

4 posts in this topic

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?

Share this post


Link to post
Share on other sites



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 :think:

[center]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.[/center]

Share this post


Link to post
Share on other sites

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)


NEWHeader1.png

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  
Followers 0