How would i make Text Italic in VB 6.0 Im assuming would involve a RichTextBox Please help
Last edited by Ricky1; Oct 16th, 2005 at 08:13 AM. Reason: resolved
Im Learning !!!!
I always used code like VB Code: textbox.Font.Italic or Textbox.font.Bold Something to that effect.
textbox.Font.Italic or Textbox.font.Bold
If you need to use RichTextBox then you may set Italic font for selected text but other than that you can set font for pretty much every control that suports that property: VB Code: Private Sub Command1_Click() Label1.FontItalic = True Text1.FontItalic = True RichTextBox1.SelItalic = True End Sub
Private Sub Command1_Click() Label1.FontItalic = True Text1.FontItalic = True RichTextBox1.SelItalic = True End Sub
Microsoft MVP - Visual Basic 2006-2013 Why VB clears the clipboard on startup and how to avoid it? . Filtering Arrays . Save File To Database . Extract File From Database . Extract picture from database without using hard drive . Change Menu BackColor . How to use MS Flexgrid . Make Frame Transparent . The Easiest Way to Create an NT Service With VB6 . How to comment blocks of code in VB5 and VB6 . How to find and replace missing members of control array Visual Basic 6.0 On-Line Documentation . Connection Strings
Forum Rules