NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: lanmicro on June 27, 2011, 11:56:25 AM

Title: Tool Tip Size Limit?
Post by: lanmicro on June 27, 2011, 11:56:25 AM
Hi Guys,

Is there a limit to the number of characters that can be entered into a tooltip?  The code doesn't appear to limit it.  Here is some sample code for you to test.

l:TxSearchExpressions string( 1500 )

  l:TxSearchExpressions = 'Search Expressions:<13,10><13,10>' &  |
                          'Use AND (all upper case) to find study records that contain all terms connected by AND.<13,10>' & |
                          'For Example:<13,10>' & |
                          'prostate cancer AND radiation<13,10>' & |
                          'heart disease AND stroke AND California<13,10><13,10>' & |
                          'Use OR (all upper case) to find study records that contain either term connected by OR.<13,10>' & |
                          'For Example:<13,10>' & |
                          'Aspirin OR ibuprofen<13,10>' & |
                          'heart disease OR heart attack<13,10><13,10>' & |
                          'Use NOT (all upper case) to find study records that do not contai the term following NOT.<13,10>' & |
                          'For example:<13,10>' & |
                          'Immunodeficiency NOT AIDS<13,10><13,10>' &|
                          'Likewise AND, OR, NOT and parentheses can be used to create more complicated search expressions.<13,10>' & |
                          'For Example:<13,10>' & |
                          'prostate cancer AND NOT ( radiation OR homeopathic remedies )<13,10>' & |
                          '( heart disease OR heart attach ) AND ( stroke OR clot )<13,10><13,10>' & |
                          'Note that the use of AND and OR as logical operators can be confusion.<13,10>' & |
                          'An appropriate search for a list such as,<13,10>' & |
                          'Ear, Nose, and Throat Conditions <13,10>' & |
                          'is the expression <13,10>' & |
                          '( Ear OR Nose OR Throat ) AND Conditions <13,10>' & |
                          'Fortunately, search will do a pretty good job of finding the right studies either way. <13,10>' & |
                          'To search for AND as a word, instead of using it as an operator, put it in quotes.<13,10>' & |
                          'Likewise, you can quote OR, NOT and parentheses.'

My tooltips stop displaying on the line "Likewise AND, OR, NOT and parentheses"
Title: Re: Tool Tip Size Limit?
Post by: Bruce on June 28, 2011, 01:59:07 AM
I suspect there's a limit up near the 16K mark.

Cheers
Bruce
Title: Re: Tool Tip Size Limit?
Post by: charl99 on June 28, 2011, 04:31:44 AM
Maybe try a Display or a no-entry text field.  Something this long is probably going to be easier to read if this way anyway.

Cheers