473,466 Members | 1,395 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How do I make the TreeView control's node text (or label) editable

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 becomes a selected sqaure where
user can edit the labe. Thanks
--
Thanks.
Aug 3 '06 #1
2 3249
Set the LabelEdit property to true

/claes

"Pucca" <Pu***@discussions.microsoft.comwrote in message
news:4B**********************************@microsof t.com...
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 becomes a selected sqaure where
user can edit the labe. Thanks
--
Thanks.

Aug 4 '06 #2
Thank you.
--
Thanks.
"Claes Bergefall" wrote:
Set the LabelEdit property to true

/claes

"Pucca" <Pu***@discussions.microsoft.comwrote in message
news:4B**********************************@microsof t.com...
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 becomes a selected sqaure where
user can edit the labe. Thanks
--
Thanks.


Aug 4 '06 #3

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

Similar topics

0
by: lucy | last post by:
I use ms.treeview control, I like to put milti-line in treeview node text. below is one node: Merger abc company I likecto put in two lines, like: Merger abc company
1
by: Oliver | last post by:
I have seen mention of TreeView controls in other threads, but cannot find information about these in the Online Help. I feel that I might be missing out on some useful functionality. How can I...
2
by: BrianDH | last post by:
Whats the best way to highlite the tree node text when the cursour hovers over the node text? I thought it would be simple but i can't get it to work. I can change the text color when I click on...
9
by: Martin Randall | last post by:
Can anyone tell me if it is possible to get the TreeView control in ASP.Net 2.0 to allow node selection without triggering a postback? Thanks! Martin Randall
2
by: Elton Pruitt | last post by:
The documentation on the ASP.NET 2.0 TreeView control, located at http://msdn2.microsoft.com/en-us/k5c13faz(VS.80).aspx says that "Node text ... can be displayed as either plain text or...
0
by: Tor Inge Rislaa | last post by:
I need to expand/collapse TreeView nodes to show/hide childnodes by clikcing on the node text (instead of using the expand/collapse icon). Does anyone know how to do that? (What property has to be...
0
by: jiing | last post by:
Hi all, I want to use sting(the same as Node.Text) to judge if a node exists in TreeView. I've tried several ways, but seems all failed. could anybody help me? Thanks in advance. //My...
9
by: auntiejack56 | last post by:
Hi, I've got a treeview, and I want to display the node text property that I have a) clicked on or b) highlighted using the up or down arrows
1
by: JR | last post by:
Hi, I need a routine/finction that finds a text, starting at the selected node, where a given text is in. say i have some nodes with 1 'sonday' and another with 'son' and I look for 'so' it...
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:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.