<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
I don't know if it is possible to filter the tooltips at design time.<br>
However, in ajaxmappane.templ you can find this code:<br>
<tt><br>
&nbsp;&nbsp;&nbsp; if(hlData.ttip != "")<br>
&nbsp;&nbsp;&nbsp; {<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ttinfo = "&amp;nbsp;" + hlData.ttip + "&amp;nbsp;";<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ttinfo = ttinfo.replace(/\\n/g, "&lt;br&gt;&amp;nbsp;");<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if(hlData.url != "")<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ttinfo += "&lt;br&gt;";<br>
&nbsp;&nbsp;&nbsp; }</tt><br>
<br>
You can modify the code to suit your needs.<br>
<br>
<pre class="moz-signature" cols="72">Regards, Kenneth, GEOGRAF A/S
</pre>
<br>
<br>
Ivan Milicevic skrev:
<blockquote cite="mid:00997CFC53D6C0488CC9149EF691F9306315C7@supranet"
 type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta name="Generator" content="Microsoft Word 12 (filtered medium)">
  <style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.StilEpote17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
        {page:Section1;}
-->
  </style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
  <div class="Section1">
  <p class="MsoNormal">Hi,<o:p></o:p></p>
  <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
  <p class="MsoNormal">I have layer who is themed on 5 levels. Only one
level have data
for tooltip's (seat number). Tooltip Works perfectly but when I move
mouse over
any other objects tooltip get's on but with two empty lines of text.<o:p></o:p></p>
  <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
  <p class="MsoNormal">Is it possible to put &#8222;WHERE clause&#8220; in Tooltip
expression or remove empty tooltips programaticly?<o:p></o:p></p>
  <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
  <p class="MsoNormal">Any help appriciated.<o:p></o:p></p>
  <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
  <p class="MsoNormal"
 style="margin-right: 0cm; margin-bottom: 5pt; margin-left: 0cm;"><b><i><span
 style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">Ivan
Mili&#269;evi&#263;<br>
  </span></i></b><i><span
 style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">voditelj
Odjela za dokumentiranje<br>
i projektiranje</span></i><b><i><span
 style="font-size: 9pt; font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;"><o:p></o:p></span></i></b></p>
  <p class="MsoNormal"
 style="margin-right: 0cm; margin-bottom: 5pt; margin-left: 0cm;"><b><i><span
 style="font-size: 9pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;"><o:p>&nbsp;</o:p></span></i></b></p>
  <p class="MsoNormal"
 style="margin-right: 0cm; margin-bottom: 5pt; margin-left: 0cm;"><b><i><span
 style="font-size: 9pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">SUPRA
NET d.o.o.<br>
  </span></i></b><i><span
 style="font-size: 9pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">Erlichova
2, 10000 Zagreb<br>
CROATIA<br>
  <br>
Mobile: +385 (0)91 2352-320<br>
Fax: +385 (0)1 6678-728<br>
Email: <a moz-do-not-send="true"
 href="mailto:ivan.milicevic@supranet.hr"
 title="mailto:daniel@supranet.hr"><span style="color: blue;">ivan.milicevic@supranet.hr</span></a><br>
URL: <a moz-do-not-send="true" href="http://www.supranet.hr/"
 title="http://www.supranet.hr/"><span style="color: blue;">www.supranet.hr</span></a></span></i><span
 style="font-size: 9pt;"><o:p></o:p></span></p>
  <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
  </div>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
mapguide-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>
  </pre>
</blockquote>
</body>
</html>