Jump to content

Help with GuiToolTip


Recommended Posts

Hi folks!

I write a UDF to make easy build a fields.

With one func a write a Input field with label (above) and a tip (to describe this function field).

Have one problem, the tip's GuiToolTip does not appear/showed.

Run example and put your mouse above the input field, I expected see the GuiToolTip, but it not show.

sText is showed [ok], sInput is showed [ok], sTip does not appear [error].

I write the function return and no errors, everything is write.

Some one can help me?

Best regards, Luigi

 FieldPlus.au3

 teste_0.au3

 

Edited by Luigi

Visit my repository

Link to comment
Share on other sites

You hae no error checking in your UDF. If any of the functions called by your UDF fails you ignore the error and keep on processing.
So: Add some error checking and see what happens.

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to comment
Share on other sites

#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 615, 438, 192, 124)
GUICtrlCreateInput("",100,100,100,25)

GUICtrlCreateIcon("shell32.dll",-278,202,109,16,16)

GUICtrlSetTip(-1,"Put your credit card number here and trust we!","Your Credit Card Number")


GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit

    EndSwitch
WEnd

I Prefer this than other way

Link to comment
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
 Share

  • Recently Browsing   0 members

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