Prod.: Engine, ver.: 6014, ID: 60000781, Wish : Show Tooltip in a distance from cursor

Wish : Show Tooltip in a distance from cursor

Article60000781
TypeWish
ProductEngine
Version6014
Date Added2/24/2009
FixedYes [4/13/2009]
Submitted byKerry Francis
Keywords

Subject

Show Tooltip in a distance from cursor

Summary

Is it possible to be able to specify tooltip offset in X and Y user definable amounts in ToolTipDispProps ?

Solution

A new property was added to the ToolTipDisplayProps object like below :
public Point ToolTipOffset

This point indicates the distance from the cursor in pixels that the tooltip will be displayed.

For the wrapper users a method has been exported to set this value as the following code indicates :

    Dim doc As VectorDraw_Professional.vdDocument
    Dim props As VectorDraw_Professional.ToolTipDisplayProps
   
    Set doc = VDraw1.ActiveDocument.WrapperObject
    Set props = doc.ToolTipDispProps
    
    props.SetOffsetXY 10, 10