Jump to content

When I pass the mouse pointer over a label that has the path of a .jpg image, it opens as a tooltip


Go to solution Solved by spudw2k,

Recommended Posts

Hello dears,

Hoping that you are doing very well, I will ask you about a code so that when I pass the mouse pointer over a label that has the path of a .jpg image, it opens as a tooltip

 

Best regards

2024-06-04_21-35-28.jpg

Link to comment
Share on other sites

12 hours ago, Andreik said:

Since you didn't post any code I assume that you have a simple label so you can use GUICtrlSetTip(). There is an example in help file.

In this code i write the entire path of a .jpg image

$LabelST = GUICtrlCreateLabel("-----------------------------------------------",             570, 80, 110, 20) ; nombre de la captura temporal

so when I hover over a label that has the path of a .jpg image, it opens inside a tooltip or flash window

Link to comment
Share on other sites

  • Solution

Are you saying you would like a pop-up preview of the image if you hover over the label which contains an image path?

You can probably use the SplashImageOn function, combined with some code to detect if the control is being hovered over.

Link to comment
Share on other sites

3 hours ago, spudw2k said:

Are you saying you would like a pop-up preview of the image if you hover over the label which contains an image path?

You can probably use the SplashImageOn function, combined with some code to detect if the control is being hovered over.

Yes, this is a need.

 SplashImageOn is working fine

thanks a lot my friend

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...