类别及其子类别 [英] catecory with its Subcategories
本文介绍了类别及其子类别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好
在我的项目中,用户必须从列表中选择一个项目,我需要对该项目进行赋值.在此列表中,每个项目都可能是其子类别等的类别(完全类似于菜单)
现在如何实现呢?
这会成为comobox的主管吗?
请帮助我
hi all
in my project user must select an item from a list and I need to value of this item.in this list every item may be a catecory with its Subcategories etc.(similar to menu exactly)
now how I can implement this?
Will this be the executive by comobox?
please help me
推荐答案
本文可能对您很有趣.
DropDown TreeView控件 [
This article might be interesting to you.
DropDown TreeView Control[^]
Good luck!
我不确定我是否完全理解你的问题,但是听起来你想要两个组合/列表框.当用户从列表一中选择一个项目时,您可以使用该值填充列表二.一个简单的例子就是列出一个包含世界上各个国家的清单,然后列出两个包含所选国家/地区的主要城镇/城市的清单.
I''m not sure I understand your question fully but it sounds like you want two Combo/List boxes. When the user selects an item from list one, you use that value to poulate list two. A simple example would be list one containing countries of the world and list two containing the major towns/cities of the selected country.
这篇关于类别及其子类别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文