Home > database > How to retrieve a treeview on one node, and expand.
How to retrieve a treeview on one node, and expand.
Time:09-27
If you have the same node, can continue to query,
CodePudding user response:
Treeviewname. The GetItem (itemhandle, item) Treeviewname. FindItem (navigationcode itemhandle)
Using these two functions over lixia, if you can also use the DATASTORE with DATASTORE to cooperate to create the TreeView to help search,
CodePudding user response:
What is the same node? TreeViewItem objects of the same label, or?
Each additem () a node, will return a handle is a long data. When clicked a node, also can get get the handle and can make the node with the getitem method treeviewitem object and obtain relevant data.
CodePudding user response:
I don't know speak too! Click or double-click the event, there is parameter handle Use the getitem method can remove that item!
If you have the same node, can continue to query,
It has to do with your design!
CodePudding user response:
Specific point is, there is a tree next to set up a text box, two buttons (1, find, 2. Continue to lookup), find the position of the contents of a text box in the tree, found after do identification, and expand,