An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20200630/a545887a/attachment.html>
Mailing lists / lazarus / 2020-06
Treeview Question
5 messages · 5 people · –
- JJuha Manninen 1
- MMartin Collins 1
- MMattias Gaertner 1
- UUnknown author 1
- Zzeljko 1
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Martin wrote 25 lines
Lazarus uses it's own implementation of TTreeView, so you have to create your own LCL wrapper for QTreeWidget.
zeljko
An HTML attachment was scrubbed... URL: <http://lists.lazarus-ide.org/pipermail/lazarus/at…
AM Martin wroteIn Lazarus there seems to be no disabled property for nodes, ...
It could be implemented in TreeNode.
However property "Enabled" instead of "Disabled" would be more consistent with other controls.
Juha
Lazarus uses it's own implementation of TTreeView, so you have to create your own LCL…
Thank you. I didn't particularly want to use QT in Lazarus but Pyside is QT only.
I'll get my application up and working first I think and then maybe have a look at the treeview source for cosmetic tweaks. Writing my own wrapper for a QT widget set is beyond my capabilities but thank you anyway.
Best regards,
Martin
zeljko wrote 31 lines
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20200630/46fc3e6b/attachment.html>
On Tue, Jun 30, 2020 at 2:10 AM Martin via lazarus It could be implemented in TreeNode.…
Show quoted text 7 lines
Or you can write a descendant of TTreeView with your descendant of TTreeNode.
Mattias
