![]() |
Dynamic Data in a tooltip?
was wondering if it is possible to put Dynamic Data in a tooltip?
I have tried a couple of different ways, and my results have varied from a simple text listing of my dynamicData line to a fullblown UI crash on loading. I have successfuly added tooltips to other windows, so am familiar with adding text in one. I am basically trying to add the full norrath calandar info into a tooltip. I susspect the problem is the "" around the /GameData lines ( I know they caused the crash, but without them i got just text, not the actual data. <Text DynamicData="/GameData.General.Time" Font="/Fonts.FontZapf15" LocalText="11:59 AM" LocalTooltip="DynamicData="/GameData.General.Time" DynamicData="/GameData.General.DayWeek" DynamicData="/GameData.General.Day" - DynamicData="/GameData.General.Month" - DynamicData="/GameData.General.Year"" Location="13,56" MaxLines="1" Name="Game Time" ScrollExtent="51,17" ShadowStyle="/ShadowStyles.Outline1" Size="51,17" TextAlignment="Center" TextAlignmentVertical="Bottom" TextColor="#EBDEAA" Tooltip="DynamicData="/GameData.General.Time" DynamicData="/GameData.General.DayWeek" DynamicData="/GameData.General.Day" - DynamicData="/GameData.General.Month" - DynamicData="/GameData.General.Year"" TooltipStyle="tooltip_default" TruncateElipsis="false">11:59 AM</Text> |
unfortunately you cant "combine" any type of text variables
|
kk thanks for info
|
Closest thing you can do: Create a page that looks like a tooltip with all the text data you want, and position it near the thing you want the tooltip for. Set the visibility to false. Set the OnHoverIn and OnHoverOut of the object to show and hide the page. ( OnHoverIn="Parent.Faketooltip.visible=true" OnHoverOut="Parent.Faketooltip.visible=false" )
The downside is that, unlike regular tooltips, this would have to be contained entirely within the parent page. |
| All times are GMT -5. The time now is 07:39 AM. |
vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI