60000781 Show Tooltip in a distance from cursor

Article 60000781
Type Wish
Product Engine
Version 6014
Date Added 2/24/2009 12:00:00 AM
Fixed (4/13/2009 12:00:00 AM)
Submitted by Kerry Francis


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


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


Send comments on this topic.