Click here to Skip to main content
15,913,854 members
Home / Discussions / C#
   

C#

 
QuestionComboBox AutoComplete with id value Pin
Noctris19-May-09 6:28
Noctris19-May-09 6:28 
AnswerRe: ComboBox AutoComplete with id value Pin
musefan19-May-09 6:42
musefan19-May-09 6:42 
GeneralRe: ComboBox AutoComplete with id value Pin
Noctris19-May-09 7:06
Noctris19-May-09 7:06 
AnswerRe: ComboBox AutoComplete with id value Pin
Noctris19-May-09 9:37
Noctris19-May-09 9:37 
QuestionToolstrip font combobox Pin
malcomhfc19-May-09 5:01
malcomhfc19-May-09 5:01 
AnswerRe: Toolstrip font combobox Pin
0x3c019-May-09 5:13
0x3c019-May-09 5:13 
GeneralRe: Toolstrip font combobox Pin
malcomhfc19-May-09 5:21
malcomhfc19-May-09 5:21 
GeneralRe: Toolstrip font combobox Pin
0x3c019-May-09 5:40
0x3c019-May-09 5:40 
That code will get a list of every installed font in the system. Double click on the Form, and you'll get a method called xxx_Load, where xxx is the name of your Form (not the Text property, that's just the caption). Put the code in there (don't forget to add a using System.Drawing statement at the top of your code file), but just after the line with new Font(..) in it, add an item to the combobox with the text of font.Name

That lists the fonts used in the combobox. When you want to set the textbox's Font property, double click in the combobox, and put some code in there which creates a Font (using new) from the SelectedItem property of the combobox. Set the textbox's Font property to that Font object you just created
GeneralRe: Toolstrip font combobox [modified] Pin
malcomhfc19-May-09 5:44
malcomhfc19-May-09 5:44 
GeneralRe: Toolstrip font combobox Pin
musefan19-May-09 6:16
musefan19-May-09 6:16 
GeneralRe: Toolstrip font combobox Pin
musefan19-May-09 6:36
musefan19-May-09 6:36 
GeneralRe: Toolstrip font combobox Pin
malcomhfc19-May-09 7:20
malcomhfc19-May-09 7:20 
GeneralRe: Toolstrip font combobox Pin
0x3c019-May-09 10:18
0x3c019-May-09 10:18 
GeneralRe: Toolstrip font combobox Pin
0x3c019-May-09 6:37
0x3c019-May-09 6:37 
AnswerRe: Toolstrip font combobox Pin
blackhattrick19-May-09 8:34
blackhattrick19-May-09 8:34 
GeneralRe: Toolstrip font combobox Pin
malcomhfc19-May-09 8:40
malcomhfc19-May-09 8:40 
QuestionClass Library / name space Question Pin
gmhanna19-May-09 4:48
gmhanna19-May-09 4:48 
AnswerRe: Class Library / name space Question Pin
OriginalGriff19-May-09 4:50
mveOriginalGriff19-May-09 4:50 
GeneralRe: Class Library / name space Question Pin
musefan19-May-09 4:54
musefan19-May-09 4:54 
GeneralRe: Class Library / name space Question Pin
OriginalGriff19-May-09 4:57
mveOriginalGriff19-May-09 4:57 
GeneralRe: Class Library / name space Question Pin
gmhanna19-May-09 4:56
gmhanna19-May-09 4:56 
AnswerRe: Class Library / name space Question Pin
musefan19-May-09 4:53
musefan19-May-09 4:53 
QuestionHex Strings to Integer Pin
gmhanna19-May-09 4:39
gmhanna19-May-09 4:39 
AnswerRe: Hex Strings to Integer Pin
Luc Pattyn19-May-09 4:47
sitebuilderLuc Pattyn19-May-09 4:47 
GeneralRe: Hex Strings to Integer Pin
musefan19-May-09 4:49
musefan19-May-09 4:49 

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.