cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Gorilla_8
Impactful Individual
Impactful Individual

I had an idea, and I don't know if it's possible ...

I have an information "i" and I would like something to appear when the user hovers the mouse over it, as an explanation pop-up, user preferably on a form.

 

mouse.gif

6 REPLIES 6
GarethPrisk
Resident Rockstar
Resident Rockstar

Unfortunately, there is no easy way to do a 'hover action'.

Meaning, there is no way to hook into when something is hovered-over.

If you're okay with a click, then you can use a context variable to show/hide when they click the icon.

Hi @Gorilla_8 

 

There is no direct action trigger for hovering over a control. However, you can still add the tooltip functionality on click of the "i" icon. You can set the OnSelect property of the "i" icon as:

Icon -> OnSelect -> Set(ShowTip,!ShowTip)

Visible property of PopUp -> ShowTip

This only supports show/hide of the popup when "i" is clicked, but in case you want to extend this a bit further where if you click elsewhere, the pop-up should hide, then you need to add below expression to "OnSelect" property of all the controls except "i" icon and popup:

Controls -> OnSelect -> Set(ShowTip,false)

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Gorilla_8
Impactful Individual
Impactful Individual

Hi @yashag2255 and @GarethPrisk 

 

I know "OnSelect" is possible, but "Hover action" it would be a great option to improve the PowerApps

You can submit this as an idea, and/or vote on an existing idea.

https://powerusers.microsoft.com/t5/Power-Apps-Ideas/Hover-amp-Unhover-which-can-update-other-contro...

I agree that this would be a useful feature to have in many of our apps.

TJO
Resolver II
Resolver II

@Gorilla_8 Your icon has 3 hover properties, HoverBoderColor, HoverColor and HoverFill. So, you could change one of these when hovering over it. For example, change the fill when hovering and then set the popup OnVisible or Text property to change according to your hover fill value

v-bofeng-msft
Community Support
Community Support

Hi @Gorilla_8 :

Because there is no OnHover porperty at present, I am afraid that this function you mentioned is difficult to achieve.

In addition,a similar effect can be achieved through HTMLTextBox, but the displayed content is limited to text.I've made a test for your reference:

1\Add a HtmlText control and set it's HtmlText property to:

"<img src=https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcRguVnpk38bMBsfL557aVCalfnXBA0sbNTZOQ&usqp=CAU style=width:100px;height:100px title=warningwarningwarningwarningwarningwarningwarningwarningwarningwarningwarningwarningwarningwarningwarningwarning>"

11.gif

Best Regards,

Bof

 

Helpful resources

Announcements
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (3,771)