Sign in to follow this  
Followers 0
Kohr

Tooltip lost once you click input

1 post in this topic

I am losing the tooltip when I click inside an Input and it does not come back. The attached code shows this by clicking in one input you forever lose that controls tooltip.

Is this how it should work?

Kohr

#include <GUIConstants.au3>

Opt("GUIOnEventMode", 1)
Opt("TrayIconDebug", 1)

$main = GUICreate("Tooltip Test")
$inputTest = GUICtrlCreateInput("tooltip is here", 10, 10, 120, 20)
GUICtrlSetTip(-1, "Tooltip Test")
$inputTest = GUICtrlCreateInput("tooltip is here", 10, 50, 120, 20)
GUICtrlSetTip(-1, "Tooltip Test2")
$inputTest = GUICtrlCreateInput("tooltip is here", 10, 90, 120, 20)
GUICtrlSetTip(-1, "Tooltip Test3")

GUISetState()
GUISetOnEvent($GUI_EVENT_CLOSE, "closeclicked")

While 1
    Sleep(300)
WEnd
Func closeclicked()
    $ret = WinGetPos($main)
    Exit
EndFunc

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