
<script type="text/javascript"> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script>
font屬性重要問題 線上等!
一個label在代碼中設定Font.Bold Font.Italic Font.Underline Font.StrikeThrough 等屬性時 被告知readonly, 如何改變其屬性。有什麼方法?
__________________________________________________________________________
用新的font對象
Dim f As New Font(Label1.Font, FontStyle.Italic Or FontStyle.Strikeout Or FontStyle.Underline)
Label1.Font = f
*****************************************************************************
歡迎使用CSDN論壇專用閱讀器 : CSDN Reader(附全部源代碼)
http://www.cnblogs.com/feiyun0112/archive/2006/09/20/509783.html
__________________________________________________________________________
Label1.Font = New Font(Label1.Font, FontStyle.Bold)
其它一樣
__________________________________________________________________________
謝謝
__________________________________________________________________________