• Introducing Dark Mode! Switch by clicking on the lightbulb icon next to Search or by clicking on Default style at the bottom left of the page!

Hover Text

TimPierce

Reputable Poster
Hello all,

I would like to show a short description of a Form Control or Grid Column when the user hovers their cursor over the control. This should work in a similar way that the Control Text is displayed when the cursor hovers over a control.

I could use a Hover Form, but don't want the user to have to click the Hover Icon.

Does anyone have any idea if this is even possible?

Thanks!

Tim
 

fady

Member
I was able to accomplish this by adding a grid column with a display style of "Icon" and the "Show Tooltip" attribute checked. When the grid is loading, assign the value to the GC and viola. The only down side is this column creates issues when the user exports the grid to a spreadsheet. The workaround though is to create a new grid format excluding the new column.
 

GuitarMan

Well Known Member
Hi,
Were you ever able to discern how to get this Hover Text to be customized with a form control? I've tried changing the DD description and that doesn't seem to work.
Any help would be appreciated.
 

TimPierce

Reputable Poster
Hi,
Were you ever able to discern how to get this Hover Text to be customized with a form control? I've tried changing the DD description and that doesn't seem to work.
Any help would be appreciated.
Yes, for Form Controls we did the following:-

Say you have a form edit control with a description, something like - Business Unit XXXXXXXXXXXX

1. Create a new static text control with the value "Business Unit".

2. Make the existing description control (current value "Business Unit") invisible.

3. Place the new text control over the invisible description. This gives the impression that the new text control is the description for the edit control.

4. Change the text for the invisible field to be whatever you want your hover text to be, either by changing it directly or using ER. We had a separate table created to store the hover text so the users could maintain it, then the ER would fetch the hover text from that table using the Alias as the primary key.

So if we set the value of the invisible description field to, for example, "This is the MCU from F0006", that is what would appear as hover text when you move your cursor over the edit control. The description on screen would remain as "Business Unit".

Hope that hastily written, garbled explanation makes sense! PM me if you need a better explanation.
 
Top