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

update toolTip programmatically

Avatar

Not applicable
I have a problem setting the toolTip programmatically. Does anybody know why the following line would not update the toolTip? Is there a configuration step needed to allow this at runtime?



var f = event.target.getField( pObj.somExpression.substring(15) );



f.userName = "My custom tooltip";



f is a valid object, i can set any other property, as visibility, read-only, etc..., but not the tooltip. Any help greatly appreciated.



Thank you,

Julian



P.S. I tried a dummy sample with a test form containing only a text field in it, but the custom tooltip does not show, only the one set at design time. I am using Designer ES 8.1.2121...
1 Reply

Avatar

Not applicable
Hello Julian,



In your dummy sample, did you try something like:



TextField1.assist.toolTip.value = "My custom tooltip";



Hélène

Adobe Systems