473,385 Members | 1,487 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,385 software developers and data experts.

Treeview_help

Hi,

I need a help for using a treeview control.Is it possible that
we disable some nodes in the the tree view so that it is unclickable
and thus won't invoke any events handled on it.
Any help is invitable

Thanks in advance

Nov 21 '05 #1
2 897
Hi,

No there is no way to disable a node. You can try placing a
value like true or false in the treenodes tag. If the value is false for
example dont run the code in the event procedure.

Ken
---------------
<so*************@yahoo.com> wrote in message
news:11**********************@g49g2000cwa.googlegr oups.com...
Hi,

I need a help for using a treeview control.Is it possible that
we disable some nodes in the the tree view so that it is unclickable
and thus won't invoke any events handled on it.
Any help is invitable

Thanks in advance
Nov 21 '05 #2
As Ken indicated there is no way in standard Treeview to avoid
triggering a node.
If you are open to using a commercial Treeview component take a look at
TList.
TList will allow you to set up a node as unselectable and/or
unactivatable.
These are in fact separate settings so you can say a node can be
activated
( have focus rectangle ) but not selectable, or you can prevent both.
Note also that if a node is set as non-activatable, use of arrow keys
to move up and down through the tree will skip over such a node.

For further information see www.Bennet-Tec.com
or drop me a note by e-mail ( please include a copy of this note and
your original posting )
Jeff Bennett
Je**@Bennet-Tec.Com

* Bennet-Tec Information Systems, Inc
* 50 Jericho Tpk, Jericho, NY 11753
* Phone 516 997 5596, Fax - 5597
* RELIABLE Components Make You Look Sharp!
* TList/Pro * ALLText HT/Pro * MetaDraw *
* Custom Software Development Services Too.
* WWW.Bennet-Tec.Com

=================== ===================

Nov 21 '05 #3

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

Similar topics

1
by: sonali_reddy123 | last post by:
Hi, I need a help for using a treeview control.Is it possible that we disable some nodes in the the tree view so that it is unclickable and thus won't invoke any events handled on it. Any...
2
by: sonali_reddy123 | last post by:
Hi, I need a help regarding the checkbox property for a treeview. Is there any way to change the color (appearance) of the treenode which will indicate that the treenode is half way selected. I...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

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.