473,402 Members | 2,061 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

TreeView -- Programmatically Selecting a Node

Hi:

I am using TreeView in a Microsoft Access 2000 form. I can create the tree, populate it and select items.

Now I want to Programmatically select and highlight a node on the tree based upon a value selected elsewhere in the form.

Can someone explain how to do the above, or send me a reference that explains TreeView in more detail?


--
--
Best Regards,
Adam J. Betcher
ad************@boeing.com

Nov 13 '05 #1
1 3960

"ADAM BETCHER" <ad************@boeing.com> wrote in message
news:I7********@news.boeing.com...
Hi:

I am using TreeView in a Microsoft Access 2000 form. I can create the tree,
populate it and select items.
Now I want to Programmatically select and highlight a node on the tree based
upon a value selected elsewhere in the form.
Can someone explain how to do the above, or send me a reference that
explains TreeView in more detail?
--
--
Best Regards,
Adam J. Betcher
ad************@boeing.com

Use the Key or Tag when you build the treeview to uniquely identify nodes.
Then on the afterupdate of your other control, you can easily reference a
distinct node.

~ Duane Phillips.

Nov 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Abdul H S via DotNetMonster.com | last post by:
I am facing difficulty to make sql on the basis of user selected node in treeview.After selection of the particulare treenode I want to traverse the hierarchy up to rootnode.plz help me regarding...
3
by: David | last post by:
I'm creating a C# (.NET BETA2) Windows application (NOT a Web application, a Windows application), and I would like to programmatically selecting a row inside of a DataGridView. It seems like it...
4
by: Karim El Jed | last post by:
Hi, I'm trying to expand a special Node of my TreeView from Codebehind. I have a TreeView on a page for navigating to another site. On the other tsite here is the same TreeView more precisely a...
3
by: Sam | last post by:
Hi, I'd like to select a node in my code and expand that node. How can I do the selection ? How can I expand it once I've selected the node ? Thx
2
by: Tymbow | last post by:
I'm building a web application that is analogous to the Windows XP file explorer in function. The left column contains a TreeView, and the right column a DataGrid populated by selecting TreeView...
1
by: Sam | last post by:
Hi, How can I scroll automatically the Treeview to a given node ? Thanks
2
by: Pucca | last post by:
How do I make the TreeView control's node text (or label) editable when user click twice on it? (Not double click). It's like the explorer on our computer drives. The directory tree label...
1
by: JJ | last post by:
Is it possible to set the selected node programmatically rather than only via a user clicking on a node? JJ
1
by: Falcula | last post by:
Hello, I have a treeview control, when i select a item i navigate to url. But selected node is lost, it reset itself, loosing state. I post my code here. Thanks in advance. <script...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.