Rich S Posted November 20, 2013 Posted November 20, 2013 Howdy, all: I have dozens of buttons scattered throughout my solution and it's a pain to have to manually change each one's tooltip text when a change arises. For example, there's a COPY button on each of the 12 layouts available to the user but if I need to change the tooltip text for one I need to change them all one at a time. Welcome to Tedious City. Is there a way to create a (global) calc so all the COPY buttons show the same tooltip text when a mouse cursor hovers over them? It's tricky because I know I can create a calc using Get (ActiveLayoutObjectName) for a _field_, but for a _button_? No such luck as far as I can tell. I tried creating a global text field (stored as a calc) with the tooltip label text stored in it; the tooltip's calc box references it but the text doesn't appear, so once again I'm stumped. :S TIA for your help!
doughemi Posted November 20, 2013 Posted November 20, 2013 Use a global ($$) variable to hold the tooltip text. Set the variable in a startup script, and call it in the tooltip.
jbante Posted November 20, 2013 Posted November 20, 2013 Another possibility that won't add things to your data viewer would be to create a custom function to hold your tooltip text, and reference that instead.
comment Posted November 20, 2013 Posted November 20, 2013 I tried creating a global text field (stored as a calc) with the tooltip label text stored in it; the tooltip's calc box references it but the text doesn't appear, Not sure if that's the best method (or why the global needs to be a calc), but I believe it should work so you might want to check your implementation.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now