PC Review


Reply
Thread Tools Rate Thread

can you have buttons or LinkLabels in TreeNodes?

 
 
=?Utf-8?B?TXJOb2JvZHk=?=
Guest
Posts: n/a
 
      9th Jan 2005
is it possible (without too extreme of an effort) to have a Button or
LinkLabel added next to a TreeNode's label that the user can interact with?


 
Reply With Quote
 
 
 
 
Carlos J. Quintero [.NET MVP]
Guest
Posts: n/a
 
      10th Jan 2005
It can be somewhat difficult, but you can try to simulate Link Labels
painting underlined text to the right of each treenode, and controlling
where the user clicks to perform some action. About painting underlined
text, see "SAMPLE: CustDTv Illustrates Custom Draw in a TreeView (Q248496)"
in the following article.

Customizing a Control's Appearance Using Custom Draw
http://msdn.microsoft.com/library/de...w/custdraw.asp

--

Carlos J. Quintero

MZ-Tools 4.0: Productivity add-ins for Visual Studio .NET
You can code, design and document much faster.
http://www.mztools.com


"MrNobody" <(E-Mail Removed)> escribió en el mensaje
news:6D37FBA8-BCAD-43DC-AB09-(E-Mail Removed)...
> is it possible (without too extreme of an effort) to have a Button or
> LinkLabel added next to a TreeNode's label that the user can interact
> with?
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LinkLabels mick Microsoft Dot NET Framework Forms 4 1st Sep 2009 03:40 PM
LinkLabels Not Being Created =?Utf-8?B?VGVycmFuY2U=?= Microsoft Dot NET 5 20th Feb 2006 04:13 PM
LinkLabels in a Datagrid =?Utf-8?B?Q29ubnVsbA==?= Microsoft Dot NET 0 25th Jul 2005 01:43 PM
LinkLabels in ListView Wajih Microsoft C# .NET 0 8th Oct 2004 10:59 AM
Impersonation and LinkLabels result in SecurityException JP Microsoft C# .NET 9 17th Mar 2004 11:18 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:52 PM.