Click here to Skip to main content
15,909,332 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Child windows Form issue Pin
Robert Rohde31-Dec-04 2:54
Robert Rohde31-Dec-04 2:54 
GeneralRe: Child windows Form issue Pin
mkennedy7731-Dec-04 12:15
mkennedy7731-Dec-04 12:15 
GeneralRe: Child windows Form issue Pin
Robert Rohde31-Dec-04 16:38
Robert Rohde31-Dec-04 16:38 
GeneralQuestion about the Garbage collector Pin
t_ariel30-Dec-04 2:25
t_ariel30-Dec-04 2:25 
GeneralRe: Question about the Garbage collector Pin
Charlie Williams30-Dec-04 5:30
Charlie Williams30-Dec-04 5:30 
GeneralRe: Question about the Garbage collector Pin
Robert Rohde30-Dec-04 22:35
Robert Rohde30-Dec-04 22:35 
Generalpocket pc application Pin
vksrisridhar29-Dec-04 23:11
vksrisridhar29-Dec-04 23:11 
GeneralRe: pocket pc application Pin
Identity Undisclosed30-Dec-04 5:04
Identity Undisclosed30-Dec-04 5:04 
GeneralRe: pocket pc application Pin
vksrisridhar30-Dec-04 16:59
vksrisridhar30-Dec-04 16:59 
GeneralRe: pocket pc application Pin
zagzagzag3-Jan-05 1:21
zagzagzag3-Jan-05 1:21 
GeneralWindows CE - instrument Pin
Sarvesvara (BVKS) Dasa29-Dec-04 7:43
Sarvesvara (BVKS) Dasa29-Dec-04 7:43 
GeneralRe: Windows CE - instrument Pin
zagzagzag3-Jan-05 1:11
zagzagzag3-Jan-05 1:11 
GeneralPerformance Pin
lhi29-Dec-04 0:36
lhi29-Dec-04 0:36 
GeneralRe: Performance Pin
Robert Rohde29-Dec-04 3:31
Robert Rohde29-Dec-04 3:31 
General.NET Framework on NT 4.0 Pin
sevan28-Dec-04 22:03
sevan28-Dec-04 22:03 
GeneralRe: .NET Framework on NT 4.0 Pin
Mike Dimmick31-Dec-04 4:38
Mike Dimmick31-Dec-04 4:38 
Generalquestion about static Type.GetType(string) Pin
Member 103504428-Dec-04 10:41
Member 103504428-Dec-04 10:41 
GeneralRe: question about static Type.GetType(string) Pin
Robert Rohde28-Dec-04 23:42
Robert Rohde28-Dec-04 23:42 
GeneralRe: question about static Type.GetType(string) Pin
Member 103504429-Dec-04 6:41
Member 103504429-Dec-04 6:41 
GeneralJit Debugger Pin
Anu_K28-Dec-04 10:08
Anu_K28-Dec-04 10:08 
GeneralProblem Related to Delegates Serialization & Remoting Pin
Identity Undisclosed27-Dec-04 21:03
Identity Undisclosed27-Dec-04 21:03 
GeneralRe: Problem Related to Delegates Serialization & Remoting Pin
Robert Rohde28-Dec-04 23:29
Robert Rohde28-Dec-04 23:29 
GeneralRe: Problem Related to Delegates Serialization & Remoting Pin
Identity Undisclosed29-Dec-04 0:29
Identity Undisclosed29-Dec-04 0:29 
GeneralRe: Problem Related to Delegates Serialization & Remoting Pin
Adam Goossens30-Dec-04 2:42
Adam Goossens30-Dec-04 2:42 
GeneralTreeNodes and Fonts Pin
Beringer27-Dec-04 19:21
Beringer27-Dec-04 19:21 
Hello,

I am using the generic TreeView Control from .Net 2002.

I want to have the root nodes of the control to have a bold font and I thought this could be easily done by setting the NodeFont attribute of the node.
However, when I do this the font is indeed bold but it seems that the control does not resize the text box the node text is drawn in and the text gets clipped (I assume becase the new bold font is wider than the previously assigned text which isn't bold by default).
Does anybody know what I can do to fix this.
Sample of code below:

TreeView treeView = new TreeView();
...
TreeNode tn = new TreeNode("Test");
tn.NodeFont = new Font(treeView.Font, FontStyle.Bold);
...

Thank you in advance,
Eric

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.