VERSION 5.00 Begin VB.Form Form1 Caption = "PASSWARD-BOX SAMPLE" ClientHeight = 2340 ClientLeft = 5010 ClientTop = 3615 ClientWidth = 4785 LinkTopic = "Form1" ScaleHeight = 2340 ScaleWidth = 4785 Begin VB.CommandButton Command1 Caption = "表示" Height = 375 Left = 1440 TabIndex = 2 Top = 1560 Width = 1815 End Begin VB.TextBox Text1 Height = 270 IMEMode = 3 'オフ固定 Left = 840 PasswordChar = "*" TabIndex = 0 Top = 960 Width = 2775 End Begin VB.Label Label3 Caption = "テキストボックスに入力する文字を 「*」 にするサンプルです" Height = 495 Left = 720 TabIndex = 3 Top = 240 Width = 3375 End Begin VB.Label Label2 Caption = "BY MADIA" Height = 180 Left = 3600 TabIndex = 1 Top = 2040 Width = 990 End End Attribute VB_Name = "Form1" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False Private Sub Command1_Click() MsgBox "テキストボックスに入力した文字は[ " + Text1.Text + " ]です" End Sub