Arbortext IsoView > Programmer's Reference > Object Functions > HighlightHotspot
  
HighlightHotspot
This method highlights the specified hotspot (if it is visible in the current window).
In case of success the method returns true, otherwise false.
Introduced with Arbortext IsoView 1.0.
Syntax
HighlightHotspotlIDlpszNamelFlagsoleColor
Parameters:
lID
Defines the ID of the hotspot (ID field in Arbortext IsoDraw object info, usage not recommended) as long.
lpszName
Defines the name of the hotspot as string.
lFlags
Defines the display attributes as long. Allowed values are:
0
HIDE
2
FRAME
4
FILL
8
FLASH
16
CENTER (not yet supported)
To process ALL hotspots use ID = 32.
* 
Add values to combine attributes.
oleColor
Defines the display color (RGB color as 32-bit unsigned integer) as OLE_Color. This value can be calculated as follows: color = r + g*256 + b*65536, with r, g, and b indicating the colors red, green and blue in a range between 0 and 255.
document.ivx1.HighlightHotspot( id,name, 8,
RGB(128,128,0) );

<script language="JavaScript">
function RGB( r, g, b )
{
return ( r + g*256 + b*65536 );
}
</script>