The API is correct. Here's what your code should look
like.
----------------------------
<script language=jscript>
function PivotControl_BeforeScreenTip(ScreenTipText,
SourceObject){
try{
ScreenTipText.value = "your text here";
}
catch (e){
alert("error");
}
}
</script>
<SCRIPT LANGUAGE="JavaScript" FOR=PivotControl
EVENT="BeforeScreenTip(ScreenTipText, SourceObject)">
PivotControl_BeforeScreenTip(ScreenTipText,
SourceObject);
</SCRIPT>
-----------------
There is no way to determine what triggered what in an
event except the user. The BeforeScreenTip() event is
used to override/customize your own screen tip text for
the specific object underneath the cursor. The object is
determined from what the SourceObject is. Same applies
to the MouseMove() event which does nothing more than
listen if the mouse has been moved and thus report the
coordinates and any key press information to the user.
Thao Moua
OWC Webchart Support
-----Original Message-----
Thanks again for the idea but alas, it's not working.
When I do as you suggest, I get an
error: "'ScreenTipText' is undefined"