View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002457 | JEDI VCL | 00 JVCL Components | public | 2005-01-02 14:56 | 2005-02-04 04:47 |
Reporter | Simes | Assigned To | obones | ||
Priority | normal | Severity | tweak | Reproducibility | always |
Status | resolved | Resolution | not fixable | ||
Product Version | 3.00 BETA 2 | ||||
Target Version | Fixed in Version | ||||
Summary | 0002457: TJvTreeView tooltip still appears when it doesn't show any additional text | ||||
Description | If 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 Information | procedure TForm1.FormCreate(Sender: TObject); var n: TTreeNode; begin 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'); Items.AddChild(n, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ'); n.Expand(true); end; end; | ||||
Tags | No tags attached. | ||||