Click here to Skip to main content
15,893,588 members
Home / Discussions / C#
   

C#

 
GeneralRe: ---Delegates Serialization & Remoting-- Pin
leppie27-Dec-04 21:53
leppie27-Dec-04 21:53 
GeneralThe "ESC" character Pin
Hercules0127-Dec-04 19:25
Hercules0127-Dec-04 19:25 
GeneralRe: The "ESC" character Pin
Heath Stewart27-Dec-04 19:46
protectorHeath Stewart27-Dec-04 19:46 
GeneralRe: The "ESC" character Pin
Hercules0128-Dec-04 0:58
Hercules0128-Dec-04 0:58 
GeneralFonts and TreeViews Pin
Beringer27-Dec-04 18:56
Beringer27-Dec-04 18:56 
GeneralRe: Fonts and TreeViews Pin
Identity Undisclosed27-Dec-04 19:53
Identity Undisclosed27-Dec-04 19:53 
GeneralRe: Fonts and TreeViews Pin
Beringer27-Dec-04 21:16
Beringer27-Dec-04 21:16 
GeneralRe: Fonts and TreeViews Pin
Identity Undisclosed27-Dec-04 22:44
Identity Undisclosed27-Dec-04 22:44 
Alright !


TreeView treeView=new TreeView();
..

//-----Code For Adding the Root Node------

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

//-----Code For Adding the Children Node------

TreeNode tn = new TreeNode("Test");
System.Drawing.Font newFont=new System.Drawing.Font(treeView.Font, FontStyle.Normal);
tn.NodeFont = newFont;
//OfCourse You add this Children to the Parent Node
//So add it to the Parent Node here but dont
//set or change the treeview Font.Only Set the Font of the Node
//OKAY ????Cool | :cool:
...

//The moral of the story is that u set the font of the treeview Ctrl
//to one that takes more graphical units (in value of course) for display text, so to avoid the clipping of text.Since displaying
//text in bold takes more graphical units as compared to same text in same
//normal font.So thats the reason u set the font treeview while adding the
//root node.

I hope u got the point Smile | :)
GeneralRe: Fonts and TreeViews Pin
Beringer28-Dec-04 3:56
Beringer28-Dec-04 3:56 
Generalimagelist problem Pin
montu337727-Dec-04 17:50
montu337727-Dec-04 17:50 
GeneralRe: imagelist problem Pin
Heath Stewart27-Dec-04 20:47
protectorHeath Stewart27-Dec-04 20:47 
Generaldilema with strings and richtextbox Pin
Tyrus18227-Dec-04 16:46
Tyrus18227-Dec-04 16:46 
GeneralRe: dilema with strings and richtextbox Pin
Heath Stewart27-Dec-04 20:34
protectorHeath Stewart27-Dec-04 20:34 
GeneralRe: dilema with strings and richtextbox Pin
Tyrus18228-Dec-04 8:39
Tyrus18228-Dec-04 8:39 
GeneralRe: dilema with strings and richtextbox Pin
Heath Stewart28-Dec-04 9:59
protectorHeath Stewart28-Dec-04 9:59 
GeneralRe: dilema with strings and richtextbox Pin
Tyrus18228-Dec-04 12:09
Tyrus18228-Dec-04 12:09 
GeneralRe: dilema with strings and richtextbox Pin
Heath Stewart28-Dec-04 12:16
protectorHeath Stewart28-Dec-04 12:16 
GeneralRe: dilema with strings and richtextbox Pin
Tyrus18228-Dec-04 12:26
Tyrus18228-Dec-04 12:26 
GeneralRe: dilema with strings and richtextbox Pin
Heath Stewart28-Dec-04 12:34
protectorHeath Stewart28-Dec-04 12:34 
GeneralRe: dilema with strings and richtextbox Pin
Tyrus18228-Dec-04 12:50
Tyrus18228-Dec-04 12:50 
GeneralRe: dilema with strings and richtextbox Pin
Tyrus18228-Dec-04 13:00
Tyrus18228-Dec-04 13:00 
GeneralperformanceCounter woes Pin
sween327-Dec-04 16:38
sween327-Dec-04 16:38 
GeneralDBAdapter.Fill(), datatype matching. Pin
zecodela27-Dec-04 15:45
zecodela27-Dec-04 15:45 
GeneralRe: DBAdapter.Fill(), datatype matching. Pin
sreejith ss nair27-Dec-04 18:37
sreejith ss nair27-Dec-04 18:37 
GeneralRe: DBAdapter.Fill(), datatype matching. Pin
Heath Stewart27-Dec-04 20:12
protectorHeath Stewart27-Dec-04 20:12 

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.