View Issue Details

IDProjectCategoryView StatusLast Update
0002457JEDI VCL00 JVCL Componentspublic2005-02-04 04:47
ReporterSimesAssigned Toobones 
Status resolvedResolutionnot fixable 
Product Version3.00 BETA 2 
Target VersionFixed in Version 
Summary0002457: TJvTreeView tooltip still appears when it doesn't show any additional text
DescriptionIf the treeview is wide enough to show more than 64 characters, then there's no point in showing the tooltip, as it is limited in length to 64 characters. At the moment, the tooltip appears, but it shows less than is already visible.

The tooltip also appears for items longer than 64 characters that are entirely visible, yet it doesn't appear for shorter items that are entirely visible.

Run the code below, and size the window so the entire strings are visible. The tooltip appears for the longer strings even when not necessary and not helpful.
Additional Informationprocedure TForm1.FormCreate(Sender: TObject);
  n: TTreeNode;
  with TJvTreeView.Create(Self) do begin
    Parent := self;
    Align := alClient;
    ToolTips := true;
    n := Items.Add(nil, 'Root');
    Items.AddChild(n, '12345678901234567890'); // <-- tooltip not shown for this item
    Items.AddChild(n, '12345678901234567890123456789012345678901234567890123456789012345678901234567890');
TagsNo tags attached.



2005-01-03 05:11

developer   ~0006066

This is either a VCL or a COMCTRL32.DLL bug because it also happens with TTreeView.

Issue History

Date Modified Username Field Change
2005-01-02 14:56 Simes New Issue
2005-01-03 05:11 AHUser Note Added: 0006066
2005-02-04 04:47 obones Status new => resolved
2005-02-04 04:47 obones Resolution open => not fixable
2005-02-04 04:47 obones Assigned To => obones