Jump to content

Recommended Posts

Posted

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

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...