Windows Develop Bookmark and Share   
 index > Windows Forms General > Multiline tab page header text.
 

Multiline tab page header text.

Does anyone know if there is a way to display the header text of a tab page in more than one line? In other words can you break line in the TabPage.Text property?
Michał Drozdowicz  Friday, January 11, 2008 8:53 AM
Okey you will set it like this in code.

tabPage1.Text = "First Line" + Environment.NewLine + "Second List";
Prasant Swain  Friday, January 11, 2008 9:05 AM
Okey you will set it like this in code.

tabPage1.Text = "First Line" + Environment.NewLine + "Second List";
Prasant Swain  Friday, January 11, 2008 9:05 AM
Works like a charm. Thanks a bunch.
Michał Drozdowicz  Friday, January 11, 2008 9:16 AM

You can use google to search for other answers

Custom Search

More Threads

• System.Media - SoundPlayer PlayLooping() - Error When Another Timer Is Running
• well plz anyone answer it.......i again ask a simple...thing
• Need help with a ListBox... SelectedIndex = -1 not working properly. Maybe i'm hallucinating.
• Merging Menus in .NET
• DataGridView Master-Detail tables not updating database
• Encrypting password field in SQL table.
• Docking TableLayoutPanel
• Redraw control after window has hovered over it
• Maximized Mdi Child is is cropped in mdi Parent
• sample code for programmincally install the "correct version" of .net framework?