Hi Robin,
can you please retest with the latest build (1.2.71). Please note that we also added a new property HtmlPanel.Scrollbars.
Best regards
Frank
Hi Robin,
WJ-7667 is now fixed (in build 1.2.71).
Please also note the new property Control.Focusable that you can use to “fine tune” the behavior of your input controls.
Best regards
Frank
A new build (1.2.71) is now available:
Breaking change
Invoke(script) has been changed to Call(script) to be consistent with Eval() and to avoid confusion with the Control.Invoke method.
New properties
TreeView.HideNodeImages, TreeNode.HideNodeImage, HtmlPanel.Scrollbars and Control.Focusable have been added.
Themes and Extensions
Also have been updated. The themes did not have the Pushed state for button in the tools.
| Item | Type | Priority | Severity | Title | Resolution |
| WJ-7672 | New Feature | Low | Trivial | New property Control.Focusable | Complete |
| WJ-7667 | Bug | Low | Trivial | Setting Tabstop = false does not allow to set focus by code or by mouse | Complete |
| WJ-7668 | Bug | Low | Trivial | Add property to control wrapping in HtmlPanel | Complete |
| WJ-7669 | Bug | Low | Trivial | Calling TreeView.Nodes.Clear() does not fully reset the treeview. | Complete |
| WJ-7670 | Enhancement | Low | Trivial | Add properties TreeView.HideNodeImages and TreeNode.HideNodeImage |
Complete |
| WJ-7671 | Bug | Medium | Minor | HtmlPanel doesn’t serialize the Html and Css properties. | Complete |
Hi Frank,
Thanks for the enhancement. It works all right.
As far as I can see, nodes without an image are left aligned with the image of the other nodes.
Hi Frank
It’s fixed. Thank you for the ultra fast fixing.
Hi Tiago & Alex,
new properties TreeView.HideNodeImages and TreeNode.HideNodeImage are now available (build 1.2.72, logged as WJ-7670).
Best regards
Frank
Hi Tiago,
can you please send us the source code so we can double check that all issues are fixed ?
Thanks in advance,
Frank
Hi Tiago,
To be honest I was suspecting they might be related, since after tv.Nodes.Clear() the count was zero but of course the treeview had all the previous nodes. But I wasn’t sure. After all it was easy to reproduce! 🙂
Thanks Tiago!
Alex
Thanks Frank.
Hi Frank,
It’s the same issue all right.
Hi Alex,
I think you found the issue I was referring to on https://wisej.com/support/question/treeview-wrong-node-count.
Thanks 🙂
Hi Alex and Tiago,
we will introduce new properties TreeView.HideNodeImages and TreeNode.HideNodeImage to allow
control on either the TreeView or individual node level.
So there will be no need for a “hack” anymore.
I have logged WJ-7670 for it.
Best regards
Frank
Hi Tiago,
this sounds related to Alex´ report:
https://wisej.com/support/question/treeview-nodes-clear
We will notify you when WJ-7669 is fixed and would appreciate if you could retry your solution then.
Best regards
Frank
Hi Alex,
I could reproduce the problem and logged WJ-7669 for it.
Best regards
Frank
Thanks Frank and Tiago !
Tiago’s sample at the end of the thread is very complete. Actually I was doing something very similar, but the key point was the call to tv.DoDragDrop() instead of simple DoDragDrop(), which, as you Frank pointed out, refers to the Form and not the TreeView.
Best,
Alex
Hi Alex,
you can find an explanation and solution in an old thread by Tiago:
https://wisej.com/support/question/treeview-doesnt-honour-allowdrag
Please note that you have to call tv.DragDrop, otherwise you are calling the DragDrop on the form instead of the treeview.
Best regards
Frank
Thanks Robin,
I have logged enhancement request WJ-7667 for it.
Best regards
Frank
Thanks Robin.
I have logged WJ-7667 for this bug.
Best regards
Frank
Hi,
Has the loader icon changed? Since when? I still get the old one and I wouldn’t have suspected that it has changed if I hadn’t read this thread. I’m using version 1.2.70, Classic-2. Some caching issue?
Best,
Alex
Dear Tiago,
I wanted the same, and Frank suggested to set an ImageList item with size (1, 1). Unfortunately the space taken by the default icons is still taken, i.e there is an empty space between the expand/collapse icon and the node Label, where the node image would be if you hadn’t set a 1×1 px image. On top of that, I noticed that during collapce, the default image showed up for a split second. That was with Classic-2 and an earlier beta version, haven’t checked lately. If you find a better way let me know.
Best,
Alex
