STAR TREK 2d20
  1. #1

    Join Date
    Apr 2008
    Location
    Virginia Beach
    Posts
    3,096

    Problem with tooltips on string controls?

    I cannot get tooltips to work with string controls, although I have not tried using setTooltipText on them yet. When the <tooltip> tag is used in a string control, you don't get the tooltip when you hover over it.

    Here is an example in the standard tables record. It declares the label over the dice with a tooltip as follows:

    Code:
    			<label_tabletop name="label_showroll">
    				<anchored width="20">
    					<left offset="10" />
    				</anchored>
    				<static textres="table_label_showroll" />
    				<tooltip textres="table_tooltip_showroll" />
    			</label_tabletop>
    That tooltip will not show up when you hover over the label.

  2. #2
    If it’s working in other controls, but not yours; there are two things I would check. Check if the tooltip string resource is actually being defined, and make sure that the control is actually at the top of the Z-order (i.e. last defined, or not covered up by other controls).

    Regards,
    JPG

  3. #3

    Join Date
    Apr 2008
    Location
    Virginia Beach
    Posts
    3,096
    MW, that is your control not mine. That is why I picked it. I think something is broken in string control tool tips. That tip doesn’t show even if my extension is turned off.

    I thought I was doing something wrong but it isn’t working on straight ruleset either.

    As you saw from my post on dragline the tooltip on my dragline is working fine.

  4. #4

    Join Date
    Apr 2008
    Location
    Virginia Beach
    Posts
    3,096
    Working now. Sorry for the false alarm. Not sure what was going on, but working now.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
5E Product Walkthrough Playlist

Log in

Log in