%%PageItemTitle%%

VectorDraw Web Library

JsPropertiesExtractor Send comments on this topic.
show Method
See Also 
vdWebLibrary Namespace > ToolTip Class : show Method
point
An Array consisted of three elements, defining the point where to tooltip's upper left corner will be placed. The point is expected to be in View coordinates.
text
The text to be displayed inside the tooltip.
fontSize
Optional. To font size to be used in pixels.
timeout
Optional. The timeframe after which the tooltip will disappear, in milliseconds. If not defined or null the tooltip won't go away until hide, or show are called.
Shows the tooltip balloon.

Syntax

JScript 
public function show( 
   point : Object,
   text : String,
   fontSize : int,
   timeout : int
);

Parameters

point
An Array consisted of three elements, defining the point where to tooltip's upper left corner will be placed. The point is expected to be in View coordinates.
text
The text to be displayed inside the tooltip.
fontSize
Optional. To font size to be used in pixels.
timeout
Optional. The timeframe after which the tooltip will disappear, in milliseconds. If not defined or null the tooltip won't go away until hide, or show are called.

Remarks

There can only be one tooltip. This means that if show is called again, the previous tooltip will disappear and the new one will take its place.

See Also