TreeView inside a ListView
1 次查看(过去 30 天)
显示 更早的评论
Is it possible to add a TreeView inside a ListView
Example :
like above Treeview with Listview. Please any one give a valuable suggestion.
1 个评论
Xiaoning.Wang
2020-12-30
hello Karthikeyan S
I want to use the treeview, but I don't the Treeview control in GUI, how to use the TreeView.
I learn some information use it by mscomctl.ocx (AcitveX).
but I don't know to use the Acitve X
could you expalin your the treeview? Thank you.
采纳的回答
Walter Roberson
2019-12-24
This does not appear to be a MATLAB question. Gtk is not part of MATLAB.
There is the File Exchange contribution https://www.mathworks.com/matlabcentral/fileexchange/58274-treeview which could in theory be extended, but there is no corresponding listview contribution.
There is the MATLAB component uitree() but there is no corresponding list facility.
There is uicontrol('style', 'list'), but the only way to put trees inside of those is to be using "traditional" figures and make changes at the Java level.
2 个评论
Walter Roberson
2019-12-24
Your options are:
- start from scratch and write all of the graphics facilities yourself
- start with a FEX contribution such as the treeview that I linked to, and modify that take on whatever further roles you need; or
- use "traditional" figures and invoke java tree facilities
- use loadlibrary() or equivalent and call into external graphics routines
To be more explicit: what you are asking for is not supported in MATLAB.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Distribution Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!