Private Sub Text1_KeyDown(KeyCodeAs Integer,ShiftAs Integer) ConstAlt=4 Const Key_F2=&H71 altdown%=(ShiftAndAlt)>0 f2down%=(KeyCode=Key_F2) If altdown%And t2down% Then Text1 Text="BBBBB" End If End Sub 上述程序运行后,如果按[Shift+F2],则在文本框中显示得是 Alt+F2 BBBBB C.随机出几个数 D.文本框平均内容无变化