Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Simple Tool Tip Question

Avatar

Level 3

I have a simple text box that I would like to have display a tool tip when the mouse is hovered over it.


I have included the desired text in the object's Tool Tip section (under accessibility), but the tool tip does not display.

The tool tip has worked for other objects that I have worked with, but never works with text boxes.

I have included the very basic form for reference.

Thank you

1 Accepted Solution

Avatar

Correct answer by
Level 10

Th eonly way to get the tooltip is if you have an input field. Even if I have the input field as readOnly the tooltip will not appear as there is no input for the user. So your only option is the single obejct with the text being the caption. The tooltip will appear when they hover over the input portion of the box and the text portion.

Paul

View solution in original post

4 Replies

Avatar

Level 4

The object you want the tool tip to be in must be editable by the end-user, otherwise the tool tip won't be displayed.

Try to check if that is the case.

Avatar

Level 3

The object in question is a static text box followed by a lengthy text entry field.

Would it be wiser to combine the text box and text field into one object, with the text box now as a caption?

If that is the case, I would still prefer that the tool tip only appear if the mouse is over the caption portion.

Another idea would be to change the text box into a text entry field, but make the entry portion invisible/nearly invisible.

What does the voice of experience have to say?

Avatar

Correct answer by
Level 10

Th eonly way to get the tooltip is if you have an input field. Even if I have the input field as readOnly the tooltip will not appear as there is no input for the user. So your only option is the single obejct with the text being the caption. The tooltip will appear when they hover over the input portion of the box and the text portion.

Paul

Avatar

Level 4

You can have 2 text boxes, one for the user input (no caption) other for the label (here the input section is not visible because you'll set the width to 0). This way you can get the tool tip on the label only. For the end user this will be transparent.