[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: TreeView.Item.Reparent wont add the arrow
[Thread Prev] | [Thread Next]
- Subject: Re: TreeView.Item.Reparent wont add the arrow
- From: Gianluigi <gradobag@xxxxxxxxxxx>
- Date: Tue, 21 May 2024 14:24:08 +0200
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Il 21/05/24 13:19, Bruce Steers ha scritto:
If i use TreeView.Add and state the parent and the parent currently has no children the item is created and the parent item shows the arrow to Expand/Collapse the parent. Eg, Tree1.Add(sKey, File.Name(sKey), Picture["icon:/16/menu"], sParent) But if i add an item to an empty parent using Reparent then it does not add the arrow. (i use reparent in drag-n-drop organizing) Eg, Tree1[sKey].Reparent(Tree1.Item.Key) I tried refreshing different things but i find the only thing that makes the arrow appear is when i use .Add() again after the reparent to add another item. Is that a bug or should i trigger the refresh/redraw some other way after a reparent? Respects BruceS
Here the DragNDrop example works correctly :-\ Regards Gianluigi
Re: TreeView.Item.Reparent wont add the arrow | Bruce Steers <bsteers4@xxxxxxxxx> |
TreeView.Item.Reparent wont add the arrow | Bruce Steers <bsteers4@xxxxxxxxx> |