Jump to content
Sign in to follow this  
Bert

Guictrlsettip Problem

Recommended Posts

Bert

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
SmOke_N

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:

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.

Share this post


Link to post
Share on other sites
Valuater

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.