在窗体上画一个文本框(名称为Text1)和一个标签(名称为Label1),程序运行后
问题:
在窗体上画一个文本框(名称为Text1)和一个标签(名称为Label1),程序运行后,在文本框中每输入一个字符,都会立即在标签中显示文本框中字符的个数。以下可以实现上述操作的事件过程是( )。
A) Private Sub Text1_Change( )
Label1. Caption = Str( Len( Text1. Text) )
End Sub
B) Private Sub Text1_Click( )
Label1. Caption = Str( Len( Text1. Text) )
End Sub
C) Private Sub Text1_Change( )
Label1. Caption = Text1. Text
End Sub
D) Private Sub Label1_Change( )
Label1. Caption = Str( Len( Text1. Text) )
End Sub