View Full Version : Question about tooltips
drahkar
May 19th, 2011, 14:41
Is it possible to have a tooltip assigned to a stringcontrol/stringfield, etc look up it's content from a databasenode in the db? Similar to the datasource in windowlist? I see the field option, but it seems to be only implemented for windowclasses.
Sorcerer
May 19th, 2011, 17:27
you can use
setTooltipText(someDBnodePath.getChild("mytooltip").getValue())
to set a tooltip to a DB value.
possibly with a onChildUpdate to set to the DB node so that the tootip updates when the DB updates.
drahkar
May 19th, 2011, 17:59
I'll see what I can do with that. I suspect that its being caused by the DBNode being in the wrong place. The setTooltipText() function should let me track it down. Didn't even know that one existed. Thanks Sorcerer.
Powered by vBulletin® Version 4.2.1 Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.