View Issue Details

IDProjectCategoryView StatusLast Update
0011165MMW v4Framework: Scripts/Extensionspublic2013-08-16 15:22
Reporterzvezdan Assigned To 
PrioritynoneSeverityfeatureReproducibilityalways
Status newResolutionopen 
Summary0011165: Tooltip should apear when some control has wider text than its width, if Hint = ""
DescriptionIt would be nice if some control could display tooltip similar to built-in tooltips in the Main Tracklist when some text is wider then its parent cell or when some node in the Tree panel has the caption wider than the Tree panel width. Basically, I need this for Edit and Dropdown controls, but they are missing with SDBUITreeListItem control as well, as I already reported before (issue 6727).

Of course, such tooltips should appear only if "Show tooltips for obscured track properties" is turned on.

Alternatively, you could add some new method to the SDBUICommon object which would return width in pixels of the given text for some control having its font, similar to the GetTextExtentPoint32 Windows API function, for example:
    iTextWidth = oEdit.Common.GetTextWidth("some_string")
    If iTextWidth > oEdit.Common.Width Then
        oEdit.Hint = "some_string"
    Else
        oEdit.Hint = ""
    End If

However, such solution is not very good because such tooltip has the form of balloon which is placed above or below the mouse cursor, instead to have the rectangular form which would be placed over the control itself (similar to tooltips in the main tracklist and tree panel).
TagsNo tags attached.
Fixed in build

Relationships

related to 0006727 assignedLudek ISDBUITreeList drawbacks and related requests 

Activities

There are no notes attached to this issue.