tagCANDY CGI VBレスキュー(花ちゃん)の Visual Basic 6.0用 掲示板
VBレスキュー(花ちゃん)の Visual Basic 6.0用 掲示板
[ツリー表示へ]  [ワード検索]  [Home]

タイトル Fontを変更した時の文字化け
投稿日: 2009/01/02(Fri) 23:29
投稿者ベルとん
Fontを変更したのですが、ラベルのみ文字化けします。
どこに問題があるのでしょうか?
標準exe作成でLabel,CommandButton,CheckBoxを配置。チェックでテスト。
Option Explicit
Private Sub Check1_Click()
    If Check1.Value = 0 Then
        Label1.Font = "Arial Narrow"
        Label1.FontBold = True
        Label1.FontSize = "14"
        Label1.Caption = "Sample"
        Command1.Font = "Arial Narrow"
        Command1.FontBold = True
        Command1.FontSize = "14"
        Command1.Caption = "Sample"
    Else
        Label1.Font = "MS Pゴシック"
        Label1.FontBold = True
        Label1.FontSize = "16"
        Label1.Caption = "サンプル"
        Command1.Font = "MS Pゴシック"
        Command1.FontBold = True
        Command1.FontSize = "16"
        Command1.Caption = "サンプル"
    End If
End Sub
VB6(SP6)Win2000,XP現象同じ。

- 関連一覧ツリー をクリックするとツリー全体を一括表示します)

古いスレッドにレスはつけられません。