Friday, April 17, 2009

Code Menampilkan kotak dialog Font

Private Sub cmbFormat_Click()
On Error Resume Next
CommonDialog1.Flags = cdlCFScreenFonts Or cdlCFEffects
CommonDialog1.ShowFont
txtKata.FontName = CommonDialog1.FontName
txtKata.FontSize = CommonDialog1.FontSize
txtKata.FontBold = CommonDialog1.FontBold
txtKata.FontItalic = CommonDialog1.FontItalic
txtKata.ForeColor = CommonDialog1.Color
txtKata.FontStrikethru = CommonDialog1.FontStrikethru
txtKata.FontUnderline = CommonDialog1.FontUnderline
End Sub

About This Blog

About This Blog

  © Blogger template Brooklyn by Ourblogtemplates.com 2008

Back to TOP