万能百科  > 计算机   > 

[单项选择题] 在运行阶段,要在文本框Text1获得焦点时选中文本框中的所有内容,则对应的事件过程是( )。

2021-07-13   

[单项选择题] 在运行阶段,要在文本框Text1获得焦点时选中文本框中的所有内容,则对应的事件过程是( )。

A.Private Sub Text1_GotFocus() Text1.SelStart=0 Text1.SelLength=Len(Text1.Text) End Sub

B.Prirate Sub Text1_LosFocus() Text1.SelStart=0 Text1.SelLength=Len(Text1.Text) End Sub

C.Private Sub Text1_Change() Text1.SelStart=0 Text1.SelLength=Len(Text1.Text) End Sub

D.Private Sub Text1_SetFocus() Text1.SelStart=0 Text1.SelLength=Len(Text1.Text) End Sub

正确答案:

C

词条内容仅供参考,如果您需要解决具体问题
(尤其在法律、医学等领域),建议您咨询相关领域专业人士。

标签